Repository navigation
v0.1.0
What's Changed
- Fix interpreter bugs, modernize toolchain and CI by @kryptamine in #1
- Report all compile errors instead of stopping at the first by @kryptamine in #2
- Evaluate object literals in order; string escapes and other polish by @kryptamine in #3
- Dot property access, exponent literals, cyclic print fix by @kryptamine in #4
- Speed up interpreter ~5x: slot environments and tagged Value by @kryptamine in #5
- Add try/catch and throw by @kryptamine in #6
- Add break/continue, for-in loops, anonymous functions, % and compound assignment by @kryptamine in #7
- Compile AST to closures, pool environments, add push/pop by @kryptamine in #8
- Add stdlib: math, string and array built-ins by @kryptamine in #9
- Polish existing features: errors, strings, printing, scoping by @kryptamine in #10
- Split parser.go and compile.go by concern by @kryptamine in #11
- Add prefix and postfix ++ and -- operators by @kryptamine in #12
- Replace var with immutable let and let mut by @kryptamine in #13
- Remove C-style for; lazy range in for-in by @kryptamine in #14
- Replace range() with a..b, a..=b and step by @kryptamine in #15
- Bump Go to 1.27 by @kryptamine in #16
- Reduce runtime allocations by @kryptamine in #17
- Compile to register bytecode by @kryptamine in #18
- Replace Python test runner with Go tests by @kryptamine in #20
- Add immutable structs by @kryptamine in #21
- Add with, is, struct conversion and struct built-ins by @kryptamine in #22
- Give is its own node and Shape a typed field list by @kryptamine in #23
- Add built-in error types and typed catch clauses by @kryptamine in #24
- Add file imports sharing one top level by @kryptamine in #25
- Add optional main entry point; modules hold only declarations by @kryptamine in #26
- Drop parentheses around if/while/for headers; bodies are blocks by @kryptamine in #27
- Restrict throw to struct instances by @kryptamine in #28
- Allow bare jump statements as if/else bodies by @kryptamine in #29
- Add object and struct destructuring by @kryptamine in #30
- Allow bare statements as if/else/while/for bodies by @kryptamine in #31
- Namespaces for built-ins and fs by @kryptamine in #32
- Pattern matching by @kryptamine in #33
- Arrow functions by @kryptamine in #34
- String interpolation by @kryptamine in #35
- Conversions, io and os by @kryptamine in #36
- Modules, strings, regex, http.request by @kryptamine in #37
- Nil safety, spread, rest, array destructuring by @kryptamine in #38
- Methods, mut self, read-only struct fields by @kryptamine in #39
- Integers, bitwise ops, Map/Set, bytes, streams by @kryptamine in #40
- Make built-in operations methods of their types by @kryptamine in #41
- Add field init shorthand to struct literals by @kryptamine in #42
- Add Neovim syntax highlighting for .rn files by @kryptamine in #43
- Add conditional expressions, throw expressions and default parameters by @kryptamine in #44
- Add raw strings, object shorthand, for-in patterns and mutable struct defaults by @kryptamine in #45
- Blog example and the language gaps it found by @kryptamine in #46
- Todo example and the language gaps it found by @kryptamine in #47
- Docs portal on GitHub Pages by @kryptamine in #48
- Fix language gaps: in-place Map/Set, spread, not, folding, numbers by @kryptamine in #49
- Make syntax consistent by @kryptamine in #50
- Replace global len() with .len() method by @kryptamine in #51
- Language consistency audit fixes by @kryptamine in #52
- Ordered objects, type-named conversions, consistent reads and match by @kryptamine in #53
- Chess example, enums, >>> and 64-bit literals, in-place struct writes by @kryptamine in #54
- VM without bounds checks, constants, ownership passed to mut self, own hash table by @kryptamine in #55
- const: compile-time constants, in patterns and field defaults by @kryptamine in #56
- jump: return, break and continue as expressions by @kryptamine in #57
- release: build binaries and publish GitHub release on tag by @kryptamine in #58
New Contributors
- @kryptamine made their first contribution in #1
Full Changelog: https://github.com/kryptamine/rune/commits/v0.1.0