Perhaps it is my love of grammar that has driven me to this point. Perhaps context free languages and Backus-Naur form are the only reason I continue to breathe. Perhaps it was the uranium flavored tobacco that my father used to smoke. Whatever the reason, let it be known that I have decided to write my own scripting language.
Initial progress...
So far I have developed a tokenizer (preprocessor) for the source. I have been using the CPPUnitLite library for running tests and this has gone really well. Thanks to whoever suggested it! [smile] I'm currently writing out a grammar definition for the first parsing class. It should be similar to C++ in syntax with minor differences for variable declaration and functions. I've decided to name my first language Magus. Wish me luck!
Uranium has a flavour??
Anyway - I wish you, and Magnus, luck [smile]
I did a module in compiler theory at university, was far from the easiest module I've done but it was facinating.
I've been doing a lot of work (for my "real" job) based on the Eclipse platform doing language editors - aka source code IDE stuff.
To get a truly intelligent editor you need to drop back down to proper token parsing and AST's, sadly I haven't had the time to do this our current project [sad]
Jack