kishtarn555 / rekarel-core

MIT License
0 stars 0 forks source link

[Refactor] Add an Intermediate Representation #26

Closed kishtarn555 closed 2 months ago

kishtarn555 commented 2 months ago

Make parsers return intermediate representation to stop having the same code twice in java and pascal interpreter.

So now the compilation steps are:

1) Source code 2) Parser (JISON) generates IR 3) IR is converted to opcode