lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello Silas,

Friday, September 3, 2010, 5:55:17 AM, you wrote:

> 1. Is there any replacement for lex/flex & yacc/bison for Lua?  How do
>    you design DSLs in Lua?  I thought about using Lex & Yacc + C it is a
>    long standing wish of mine to learn parsers, BNF with Lex & Yacc...

gg library used in metaLua. it's a dynamic parser generator, like
Parsec in Haskell and Spirit in C++

> 2. I was thinking that it would be interesting to make the DSL
>    Turing-complete, to make it easily programmable.  Use Lua itself as
>    the DSL would solve this problem, but what about if I need different
>    syntax not present in Lua, like in "button foo ..."?

metaLua itself



-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin@gmail.com