Was wondering is there are any tutorials around on making simple scripting languages.
Printable View
Was wondering is there are any tutorials around on making simple scripting languages.
Doubtful, scripting languages may be simple to use but the engines that interpret them are, in most cases, anything but simple.
Look up scanning, tokenisation, and parsing, and you can create a compiler. Do it on the fly and it's an interpreter. Do it on the fly with caching and it's a JIT compiler.
Or check out the Projects forum as there was one or two that were focussed on creating a new language.
I doubt anyone will learn much from them, except how to fail spectacularly. :)Quote:
Originally Posted by RobDog888
Well it is a big project to take on. As mentioned its not just parsing scripts and your done.