🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Compiling and reading a custom scripting language
I;ve heard that scripts such as jass (WarCraft 3) are compiled and saved into maps. Does anyone know how scripts are compiled, are they translated into c++ and thus read inside the program as dll''s? any ideas?
I don''t know much about jass, but they could be comiling into a bytecode, rather then machine language.
A lot of game designers compile into a byte code or pseudo-assembly to allow a scripting language to parse it quicker. By compiling a scripting language, we can save time we''d normally spend trimming white spaces and newlines, and avoiding multiple io reads for a single command.
A lot of game designers compile into a byte code or pseudo-assembly to allow a scripting language to parse it quicker. By compiling a scripting language, we can save time we''d normally spend trimming white spaces and newlines, and avoiding multiple io reads for a single command.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement