This one doesn’t have much to do with SDL, but it might be interesting
to you anyway:
Using SDL, Part 4: lex and yacc
Building parsers for scripts and GUI design
In this installment we look at two useful tools in the arsenal of any
Linux programmer: lex and yacc. These tools have enabled us to easily
build the scripting language and GUI framework that we used in Pirates Ho!,
our SDL-based Linux game.
This one doesn’t have much to do with SDL, but it might be interesting
to you anyway:
Using SDL, Part 4: lex and yacc
Building parsers for scripts and GUI design
In this installment we look at two useful tools in the arsenal of any
Linux programmer: lex and yacc. These tools have enabled us to easily
build the scripting language and GUI framework that we used in Pirates Ho!,
our SDL-based Linux game.
See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software
I don’t mean to knock your article, but why would you want to
design a new scripting language? Why not use one that already
exists? It seems like writing a parser for a new scripting language
is a lot more work than just plugging your C functions into
an existing scripting language.
A new article is available on the articles page:
Linux Power - June 2000
SDL making game development on Linux a reality http://linuxpower.org/display.php?id=185
See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software