lua-users home
lua-l archive

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

> My question for CS people out there is: is it possible to automatically 
> generate a parser for such an expression language automatically, given 
> only a "tabular" description of the operators characteristics, under 
> some reasonable constraints (e.g., only unary and binary ops supported; 
> binary are only infix, etc.)?

Not *exactly* the thing you're looking for, but pretty close:

I was surprised at the simplicity of it, and the fact that it's found in the LOOP package...