[luatex] [A bit out of topic] Extend the arithmetic expressions parser from lpeg example

Taco Hoekwater taco at elvenkind.com
Tue Jun 28 10:45:18 CEST 2011

On 06/28/2011 10:29 AM, Christophe Jorssen wrote:
> Hello all,
> I posted the following question to the lua list a week ago but got no
> answer. So I try here... For sure, it is a bit out of topic (well, it
> is remotely connected with some work on a lua way to perform math in
> pgf) but I know there must be some lpeg (context?) wizards here who
> could probably help me on this matter. Thanks in advance. Best
> regards.

There were a bunch of small errors in your lua code, see attachment.

Best wishes,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: exprcalc.lua
Type: text/x-lua
Size: 1498 bytes
Desc: not available
URL: <http://tug.org/pipermail/luatex/attachments/20110628/33634df2/attachment.bin>

More information about the luatex mailing list