Re: Conversations in games
Posted: Thu Mar 19, 2009 5:41 am
As far as the database thing goes, you might be able to make a facts / rules system along the lines of this:
Query system
or the "Query Compiler" chapter of this:
On Lisp
(Since you mention "Code is data" I assume you're not afraid of parentheses. )
I've been planning to experiment with this approach for my company's next project, which is likely to be AI-heavy. Nothing handy right now, though.
Some interesting sort-of-related work in Metalua:
Pattern matching
Example Metalua implementation
Query system
or the "Query Compiler" chapter of this:
On Lisp
(Since you mention "Code is data" I assume you're not afraid of parentheses. )
I've been planning to experiment with this approach for my company's next project, which is likely to be AI-heavy. Nothing handy right now, though.
Some interesting sort-of-related work in Metalua:
Pattern matching
Example Metalua implementation