|I'm thinking of writing a translator for a custom language for inhouse use. Target language will be VBscript. I'm novice to compilers and translators.
so far I gathered that there are two options
a) tweak existing syntax: e.q. in ruby taking advantage of blocks and closures, design new domain specific constructs, wherein I won't have to do syntax parsing and evaluation, just a code generation
b) new syntax and translator for it(it won't be a lisp like syntax).|
How difficult it is to write a translator in lisp? Can you please point me to references for writing those using lisp/scheme. I think if I go by option-b it will give me chance to learn and write using Arc. (It'll be my side project.)