4 ms·
In my experience going from syntax tree to interpreter/compiler is definitely the harder part. Parsing is a relatively straightforward task.
by Psyonic 18y ago
In my experience going from syntax tree to interpreter/compiler is definitely the harder part. Parsing is a relatively straightforward task.
- procrastitron 18y agoThat is my experience as well, but keep in mind that the design of the source language affects this. For instance, writing a parser for C++ would be a nightmare full of bookkeeping, but a basic translation to machine code would be relatively straight forward.