[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LPeg - new version
- From: Javier Guerra <javier@...>
- Date: Sat, 24 Mar 2007 08:48:26 -0500
On Friday 23 March 2007, Philippe Lhoste wrote:
> Eg. I have @'c' which is sugar for (!'c' .) * 'c', but if the user types
> the second expression, he will get a non-optimized bytecode... Detecting
> such constructs and folding them to the specialized opcode will come
> later... if ever!
AFAIK, using syntactic sugar means generating the same bytecode as the 'model'
expression. having a special opcode is not sugar, it's meat.
--
Javier
Attachment:
pgp0XEmdfzLXh.pgp
Description: PGP signature