lua-users home
lua-l archive

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


> what would be the simplest syntax that would involve the least modification
> 
>     \(x,y) [x+a*y]
>     @(x,y) (x+a*y)
>     \\(x,y) x+a*y\\
>     [(x,y) x+a*y]

All but the last one are easily handled by token filters, especially ones
written in C. For the syntax
	\x,y (x+a*y)
see
	http://lua-users.org/lists/lua-l/2010-11/msg00808.html
	http://lua-users.org/lists/lua-l/2012-03/msg00309.html