lua-users home
lua-l archive

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


On Fri, 17 Mar 2006, Alexander Gladysh wrote:

...

Hey, this is an interesting idea for implementation of some kind of
virtual machine-interpreted DSL:

Silly example:

-- Should print 3.
interprete(make_vm()) 'add' '1 '2' 'prn'

Code follows.

Alexander.

...

Ohhh...nice.

Somewhat imited by the syntax of Lua, but it extends the range of DSLs that can be created without parsing strings. This is going to save me some time.

  - Tom