Quote Originally Posted by jdarling
Ewww... Crenshaw Compilers.... Gotta love em!
LOL!

Quote Originally Posted by jdarling
When I started looking at compiler theory and started working on my own languages I started with Crenshaws work too.

A step up from this is to build a FORTH style compiler and use a basic stack to handle the manipulations. This quickly leads you into basic variables with local, global, and static (constants) visibility.
I have already done a pascal-like scripting language complete with 'op-codes' + virtual machine, and a "compiler" for a virtual computer called "RetroBox" (http://www.retrogamedev.org/retrobox...oBoxProjec.php) using his work

It is lots of fun

Quote Originally Posted by jdarling
Then you can move into optimizers, dynamic lexers, virtual machine implementation, and all the other fun things that come with compilers/theory.

My first attempt at something like this was "TSimpleMath" I still have it on my website at http://eonclash.com/ViewProduct.php?ProductID=9 if you want something for comparison. I'd do it completely different today, but it works well and I haven't seen a need to rewrite it
Thanks
I might take a look at it

Quote Originally Posted by jdarling
- Jeremy

PS: I've spent a LOT of time doing things like this when you get stuck, there is a reason the best book on the subject is call "The Dragon Book".
I've heard of it of course, but never seen it myself

cheers,
Paul