I'm going to make a simple game editor with C++/Win32 API... But I need to make a scripting language..I'll start with only a few commands, though....
I'm going to make a simple game editor with C++/Win32 API... But I need to make a scripting language..I'll start with only a few commands, though....
To start off, you need a well defined grammar for the language - how are variables declared, how are functions declared, how are functions invoked, what types of symbols can follow other types, and in what circumstances.
Once the grammar is defined, you need a parser (Spirit from the Boost library is a pretty good one, if you don't feel like writing your own). The parser will break it down into structures, and then your program performs certain predefined tasks based on the content of those structures.
The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.