>> Do you propose support for a pre-processor as well?
absolutely. my goal is to support most (if not all) of the language.
>> Because things like this could easily result in empty statements with varying conditional compilation flags. LOGMSG may or may not be a macro which may or may not expand to nothing.
good point. I somehow overlooked that use of the pre-processor but yes, that would certainly qualify as a legitimate use for an empty statement.
>> Tell us about this language, Seb!
it's basically C++ with some improvements and extensions that (I feel) support a more powerful programming paradigm. some basic features include:
- no need for forward declaration of classes/functions
- assignment in class member declarations allowed
- functions within functions allowed
- guaranteed sizes for integer/float data types regardless of platform used
- a standardized intermediate 'portable opcode description' (POD) format for compiled code
- reassignable references
- overload of '.' allowed
- optional '@' in place of '=='
- addition of operator pow '`'
- the template right angle bracket spacing problem remedied
- nested multiline comments
- arbitrary length integer and floating point literals
- automatically deduced types in declarations with 'auto' and 'typeof' keywords
- more simplified template usage syntax
- keyword 'with' for structure access
there's still much to do, of course - the only thing near complete is the lexical scanner.