nsensfel / tonkadur

Narrative scripting/programming tool. Write stories in your favorite editor using a feature-rich language, compile them into a very small and simple language to easily integrate them into your game.
https://tonkadur.of.tacticians.online
Apache License 2.0
2 stars 0 forks source link

Simplify and fix the parser #28

Closed nsensfel closed 3 years ago

nsensfel commented 3 years ago

The current parser has a rule per instruction/computation type. This is not warranted and is likely to be behind the slow compilation process. Furthermore, variable scope is not done properly in the current parser and needs to be fixed.

nsensfel commented 3 years ago

This is being done in the parser_rework branch.

nsensfel commented 3 years ago

This has been taking much longer than expected, so here is a progress board.

nsensfel commented 3 years ago

Done in 050e329f2a2e2367c2e4f1965190b0f6a5addf29.