Commit Graph

4 Commits

Author SHA1 Message Date
Pavel Demin 3f5db406eb improve compatibility with older python 3 versions 2019-10-05 11:26:43 +02:00
Lephe a983faedeb
add relations, and most functions
This change adds a [cond] grammar symbol corresponding to binary
relations in IF, IFELSE and WHILE conditions. It also adds support for
unary functions with parenthesis syntax. Other functions will need
specific rules depending on their operator precedence level.

Also adds the Window.save() function that implements the --save option
to save the output of the program into a bitmap file. This will be used
to perform automated unit tests.
2019-10-04 12:44:27 +02:00
Lephe 0189d7f372
fix most remaining bugs 2019-10-02 07:17:46 +02:00
Lephe cd2936c582
add a first interpreter
Note that there are still bugs and the output is really not what it
should be. Will fix that with unit tests ASAP.
2019-10-01 18:05:22 +02:00