Skip to content

Commit

Permalink
chore: Updated CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
giann committed Aug 24, 2023
1 parent c15e894 commit a20d73e
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
# Unreleased

## Added

- FFI (https://github.com/buzz-language/buzz/issues/109)
- Uses MIR to generate wrappers around imported functions and to generate getters and setters to struct fields
- New `zdef` statement to declare and bind foreign functions and struct using zig code
- New `ffi` std lib
- When you need a pointer to something you can use the `Buffer` std lib object. Added:
- `Buffer.writeZ`, `Buffer.readZ`, `Buffer.writeStruct`, `Buffer.readStruct`
- `Buffer.ptr`, `Buffer.len`
- New (fancy) error reporter
- Errors have now an associated code
- `os.sleep`
- First class types (https://github.com/buzz-language/buzz/issues/21)
- Type can be passed around as values like so: `<str>`
- New `typeof` operator returns type of any value: `typeof "hello"` -> `<str>`
- Delimiters for non-standard identifiers (https://github.com/buzz-language/buzz/issues/138)

## Changed

- `Json` now return a `Box` object (which can be reused in other contexts than JSON)
- Identifiers can now have `_` since pattern delimiters have changed
- Changed pattern delimiters (https://github.com/buzz-language/buzz/issues/165)

## Fixed

- Some bugs `any`
- Runtime error stack trace was wrong

# 0.2.0 (07-26-2023)

## Added
Expand Down

0 comments on commit a20d73e

Please sign in to comment.