🎉 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

Started by
1 comment, last by Axiverse 20 years, 2 months ago
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?
Advertisement
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.
~~~~~Screaming Statue Software. | OpenGL FontLibWhy does Data talk to the computer? Surely he's Wi-Fi enabled... - phaseburn
Game Scripting Mastery


Kami no Itte ga ore ni zettai naru!
神はサイコロを振らない!

This topic is closed to new replies.

Advertisement