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.
~~~~~Screaming Statue Software. | OpenGL FontLibWhy does Data talk to the computer? Surely he's Wi-Fi enabled... - phaseburn
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement