[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: C with embedded Lua or Lua-only program?
- From: Bulat Ziganshin <bulat.ziganshin@...>
- Date: Fri, 3 Sep 2010 09:23:34 +0400
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