diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e6c37dc..61ceb980 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,10 @@ # Unreleased ## Added -- Tail call optimization (https://github.com/buzz-language/buzz/issues/9) - REPL (https://github.com/buzz-language/buzz/issues/17) available by running buzz without any argument - WASM build (https://github.com/buzz-language/buzz/issues/142) and [web REPL](https://buzz-lang.dev/repl.html) +- Tracing JIT (https://github.com/buzz-language/buzz/issues/134): will look for hot loops and compile them +- Tail call optimization (https://github.com/buzz-language/buzz/issues/9) - Function argument names and object property names can be omitted if the provided value is a named variable with the same name (https://github.com/buzz-language/buzz/issues/204) ```buzz object Person { @@ -48,7 +49,6 @@ var value = from { - `myrange.toList()` transforms a range into a list of integers - `myrange.low` and `myrange.high` to get a range bounds - works with `foreach` -- Tracing JIT (https://github.com/buzz-language/buzz/issues/134): will look for hot loops and compile them - `list.fill` - `std.panic` will panic and print current stack trace - Loop can have _labels_ that you can `break` or `continue` to (https://github.com/buzz-language/buzz/issues/199) diff --git a/src/main.zig b/src/main.zig index addd9b7a..821b2132 100644 --- a/src/main.zig +++ b/src/main.zig @@ -218,8 +218,6 @@ pub fn main() u8 { \\-h, --help Show help and exit \\-t, --test Run test blocks in provided script \\-c, --check Check script for error without running it - \\-f, --fmt Format script - \\-a, --tree Dump AST as JSON \\-v, --version Print version and exit \\-L, --library ... Add search path for external libraries \\... @@ -301,10 +299,6 @@ pub fn main() u8 { .Check else if (res.args.@"test" == 1) .Test - else if (res.args.fmt == 1) - .Fmt - else if (res.args.tree == 1) - .Ast else if (res.positionals.len == 0) .Repl else diff --git a/tests/038-fibers.buzz b/tests/038-fibers.buzz index 30a5502d..8fedee5b 100644 --- a/tests/038-fibers.buzz +++ b/tests/038-fibers.buzz @@ -73,4 +73,4 @@ test "Wrapping call inside complex expressions" { }; std.assert(resolve &map["hello"]?() == "hello world", message:"Could warp function call in a complex expression"); -} \ No newline at end of file +}