As most of you know, embedded interpreters for languages like Lua and Python are widely used for scripting game logic, but I haven't seen much information on people going with domain-specific languages for their scripts, e.g. building a little logic scripting 'dialect' on top of the language used for the rest of the game, using macros or fluent programming or whatnot.
So my questions are as follows:
- What examples of such DSLs have you seen in real-world games?
- What problems were run into?
- Would you recommend this route for other game developers, and in what circumstances?
- Do you see this becoming more common as game development moves toward more metaprogramming-friendly languages, e.g. Boo?