- Match statements (#15)
- Modules and imports (#17)
- Support for Docker
- Support for Arch Linux build system (Thanks Alex)
- Fixed a bug with nested expressions and arithmetic operations
- Added some in-repo technical documentation
- Minor fixes
This release introduces the concept of structs, alongside many improvements to the documentation.
- Fixed some typose and broken links
- Document boolean values
- Added this changelog!
This release adds type inference to Sabre. There are also a lot of improvements in terms of documentation. The docs are now at a state that can be considered "usable".
- Type inference
- First attempt of LLVM backend
- Fixed an error when printing numbers
- Added documentation for for loops
- Added documentation for while loops
- Documented LLVM backend
- Documented comments
- Updated contributing guidelines
- Fixed an issue where nested expressions where not compiled correctly
This version introduces a lot of improvements regarding loops and arrays.
- Support for nested arrays
- Link to our matrix channel in README
- Install Sabre via Cargo
Follow-up release that fixes some issues with the published crate.
This release is the first to be published to crates.io. The crate is called sabre-lang.
- Uninitialized variables
- For loops
- Functions fully documented
This release tries to lay the groundwork of a possible C backend.
- An unstable, opt-in C backend
len()standard library function
rev()standard library function
- Function return types
- Booleans as function parameters
- A lot of improvements
This release adds new vital features to the language.
- While loops
- Boolean type
- Variable assignments
- Basic standard library
Direct follow-up release that didn't add or remove anything
Initial release with basic featureset.
Garrit Franke (74): Initial commit Add license Add curly braces Parse functions Fix function parsing Update math example Refactor TokenType Implement return statement Fix keyword recognition Fix test compilation Fix tests and comments Add variable declarations Implement returning variables Pretty print AST output Add strings Rename flex -> sabre Fix example filename Add parser tests Add multiple functions test Add token positions Add token positions Allow empty returns Add x86 generator scaffolding Generate assembly Add JS generator Fix warnings Implement return generation Refactor x86 generator Print result of main for js target Fix infinite loop when parsing strings Add CI Add function arguments Add function arguments Tokenize Comma Fix return with expression Remove uneeded compount statement Add math operations Fix parsing of complex compound expressions Clean up expression parsing Refactor function call parsing Change function declaration syntax Add greeter example Add fib example Add basic conditionals; remove semicolons Allow multiple statements in if conditional Add TODO file Add js generator for variable declarations Add remaining comparison operators Add Readme Add backend-state to README Add CLI TODO Add error reporting TODO Fix typo Add builds.sr.ht badge Add basic CLI Revert "Change function declaration syntax" Fix production build Fix examples Fix readme Fix compound op with identifier first Fix fib example Add conditional else if branch Generalize block into own statement Add else branch Add copyright notices Fix warnings Add integer arrays Clean up error handling Refactor parser module structure Fix warnings Add docs Add placeholder for documentation docs: add placeholder for CLI docs: add placeholders for developers