Advertisemen
I may have underestimated the effort required in creating a compiler, I knew it was going to be an arduous task... Simultaneously writing the Parsing and the Code Generation... Can't believe I thought the Lexical Analysis was hard.
Currently it can generate machine code for if-then statements but nothing else... No assignments... Just if then statements:
ss="separator" style="clear: both; text-align: center;">
It may be better to attempt this in Java instead of C++ due to Java having a STL that's useful towards building a compiler:
http://volta.sourceforge.net/api/edu/uci/eecs/doc/cascade/controlflow/IfThenElse.html
>sourceforge
Well it's not STL, but this thing looks damn useful!

http://volta.sourceforge.net/api/edu/uci/eecs/doc/cascade/controlflow/IfThenElse.html
>sourceforge
Well it's not STL, but this thing looks damn useful!
Advertisemen
Tidak ada komentar:
Posting Komentar