-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upload newest offline version (1.1.1)
1.1.1 More script tests, more compiler bugs fixed. Same song, different verse. * Added another set of script tests. (script_test.go) * Fixed unary operators after a power operator, for example `2 ^ - -2`. To fix this issue I totally rewrote how operators are parsed. (ast/parse_expr.go) * Fixed semicolons immediately after a return statement. (ast/parse.go) * Fixed an improper optimization or repeat-until loops. Basically if the loop had a constant for the loop condition its sense was being reversed (so a false condition resulted in the loop being compiled as a simple block, and a true condition resulted in an infinite loop). (compile.go) * Fixed `and` in non-boolean contexts. Also `and` and `or` *may* produce slightly better code now. (compile_expr.go)
- Loading branch information
1 parent
6333481
commit cbee393
Showing
8 changed files
with
627 additions
and
252 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.