Where should I start to write a custom language for PLT? Is there any information on the net (or maybe information in the manual I'm overseeing?) Or are the existing language packs the best reference for such a task?
Thank you in advance!
The book - Programming Languages: Application and Interpretation might be a good place to start, especially chapter XII "Domain-Specific Languages and Metaprogramming". It uses PLT Scheme for the code samples, and the entire book is a worthy read.
This may be no longer relevant, but worth a mention. While PLAI is a good read, it is intended to be a general textbook on programming languages. If you want to get some specific details about creating new languages in PLT, then you are likely to be interested in a tutorial that I have given in DEFUN09 about this. I didn't make this public yet, since there is still some more work to do to get it in shape, but it is likely to be a useful resource if you're interested in this. (I will eventually turn it into a guide that will be included with the PLT documentation.) If you're interested, you can email me -- I'll send you a copy and I'll also be happy to get any feedback.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With