lua-users home
lua-l archive

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


Hello.
What is the best way to create custom DSL in Lua? Google says, that it
can be possible via base lua or using lpeg.

I need something like this
direcotry "/etc/" {
  owner "root"
  group "wheel"
  mode "0755"
  action "create"
}

Can somebody provie minimal lua code for this sample? How can i do
this using lua lpeg?

--
Vasiliy Tolstov,
Clodo.ru
e-mail: v.tolstov@selfip.ru
jabber: vase@selfip.ru