Summary
This release changes significantly the API of the library in order to allow for LSP in the future. Not only cellang LSP, but it implements the logic so it would allow other systems to use the parser in order to better understand where the issue might be. There are still improvements to be made, but the library now has better type checking. This better type checking is at the expense of development ergonomics on the environment registration side.
What's Changed
- Bump actions/checkout from 5 to 6 in the actions group by @dependabot[bot] in #43
- Remove unused dir and bump packages by @nikola-jokic in #44
- Use ubuntu-slim since not much resources are necessary by @nikola-jokic in #45
- Expose SyntaxError type so library is not returning miette Report by @nikola-jokic in #46
- Improve syntax error to get the right offset by @nikola-jokic in #47
- Modify the interface so it includes type checking for structs as well, nicer functions, etc. by @nikola-jokic in #48
- Include derive macros by @nikola-jokic in #49
- Add hashmap and btreemap derive by @nikola-jokic in #50
- Register to type env as well by @nikola-jokic in #51
- Add env.compile returning type checked ast by @nikola-jokic in #52
- Add deserialize to ast by @nikola-jokic in #53
- Bump dependencies by @nikola-jokic in #54
- Register builtins by default by @nikola-jokic in #56
- Add macros back by @nikola-jokic in #57
- From vec of intovalue to value by @nikola-jokic in #58
- Serializable env by @nikola-jokic in #59
- Validate variable type when setting the variable to the runtime by @nikola-jokic in #60
- Check function signature by @nikola-jokic in #61
- Use error getters and constructors by @nikola-jokic in #62
- Document some public functions and modify macros interface a bit by @nikola-jokic in #63
- Fix macro invocation and add more examples by @nikola-jokic in #64
- Remove line numbering because it is much better to use offsets with indexing by @nikola-jokic in #66
- Start making wasm bindings by @nikola-jokic in #65
- Workspace authors and bump packages by @nikola-jokic in #67
- Prepare 0.6.0 release by @nikola-jokic in #68
- Fix versioning before publishing by @nikola-jokic in #69
Full Changelog: v0.5.0...v0.6.0