lua-users home
lua-l archive

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


steve donovan
spir wrote:
(I find the latter rather clear:
  formula (x,y,z) (x+y*z)
)
That is a good clear syntax, which is also very easy to make into a
macro. Alas, but macros require the token filter patch, which requires
a custom build.  In theory it would be possible to load token filters
dynamically, but it would be a mess, introducing dependencies that are
not guaranteed to be part of Lua.

Agreed!

That all raises the question whether Lua should support
some minimal form of domain specific language, probably
via including token filter into the std. distribution.
That would reduce the need to build a complete language
on top of Lua.

Of course, this would require to implement one more policy
into Lua, something like
domain(GSL)
    ...
end

Peter