I really want to know WHERE I can find a simple example of parser for own script language for games.
I found one on gamedev.pl [polish site], but I can't stick together all parts of the code.
It'd be nice if someone can post a links to examples.
I mean about SIMPLE parsers (interpreters) to edit and re-build.
Thanks in advance!
#edit
If someone don't know.
I've file:
monster.mas
and it contents:
setMonsterHP(10);
setMonsterPos(10);
and this parser should just translate this code to be understoodable by game