Commit Graph

9 Commits

Author SHA1 Message Date
Lephe 77404fa61b
lang: realize that WHILE was actually UNTIL 2019-10-26 18:29:58 +02:00
Lephe f1cc4ace40
update atomically (like a bomb)
* Fix angle units for reverse trigonometric functions
* Add a streaming option to capture the output in real-time as a series
  of bitmap images
* Switch to Decimal due to the non-continuity of Ent() breaking
  assumptions about the fidelity of floats. Trigonometry functions are
  still computed as floats.
* Fix the line rendering algorithm for edge cases and add a new test
  line-positive.txt that ensures basic patterns are all correct.
* Use custom rules to generate text representation of decimal numbers as
  to better match the output of the fx-92.
* Improve the test constants.txt to better evaluate this representation.
  The interpreter automatically checks that the representation matches
  the value and fails on error to avoid scratching heads.
* Fix EQUAL not being treated as a relational symbol.
2019-10-25 13:38:10 +02:00
Lephe c52e7ccaa3
lexer: record each constant's representation in the token 2019-10-17 10:33:30 +02:00
Lephe 907c800696
add the theta variable name 2019-10-15 11:25:39 +02:00
Lephe 053c1ebfaf
add exponentation in the bitcode lexer 2019-10-08 22:32:27 +02:00
Lephe 14846e56ae
add functions with multiple parameters 2019-10-08 21:20:08 +02:00
Lephe afb0511ea0
allow more flexible constant specifications 2019-10-06 11:51:02 +02:00
Lephe 9bf03c52be
allow <sign><function> atoms 2019-10-06 10:57:58 +02:00
Lephe 69b5b52fdd
structural update: move files to a subfolder
Also update the documentation of supported tokens and features for more
clarity.
2019-10-06 01:34:42 +02:00
Renamed from lexer.py (Browse further)