Submitted by Johnny_Heart on Sun, 03/07/2010 - 14:25.
We have a course at the University of Guelph on compiler design. The original version of HackScript was designed by one of our former developers Alex, who rebuilt a C-style language similar to that taught in the course, in LEXX & YACC.
This was good for a while, but we had some problems, e.g., '++' wasn't implemented, there were no arrays, etc.
So any ways, I got a sub-contracting job building compilers for RBC, and learned how to use ANTLR -- this is another tool for building compilers which is really cool.
I re-built HackScript in this, so that it was backwards compatible with the C-style old version, but added in many of the missing features... so there you have it.
re: Hackscript
johnny_heart invented it, a long time ago. He's the one to answer the second part of your question.
-TTJ
(Im in ur compilerz lolin' ur codez !)
A Brief History of HackScript
We have a course at the University of Guelph on compiler design. The original version of HackScript was designed by one of our former developers Alex, who rebuilt a C-style language similar to that taught in the course, in LEXX & YACC.
This was good for a while, but we had some problems, e.g., '++' wasn't implemented, there were no arrays, etc.
So any ways, I got a sub-contracting job building compilers for RBC, and learned how to use ANTLR -- this is another tool for building compilers which is really cool.
I re-built HackScript in this, so that it was backwards compatible with the C-style old version, but added in many of the missing features... so there you have it.