[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: DSL in lua
- From: Vasiliy Tolstov <v.tolstov@...>
- Date: Thu, 6 Dec 2012 09:52:15 +0400
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