[ragel-users] Re: Inline scanner
Adrian Thurston
thurs... at cs.queensu.ca
Thu Jul 12 07:14:48 UTC 2007
Carlos Antunes wrote:
> Now, it would be AWESOME, if one could apply that prefix operator to
> *any* machine, including scanners, obviating the need to do it
> explicitly. Following your example below, one would simply do
> prefix(inline_scanner), for example.
Sure, my guess is that the prefix of a scanner would actually be the
prefix of the union of all scanner patterns. I don't think the prefix of
final scanner machinery would make much sense since it sometimes uses
error actions to restart and there is also backtracking of input.
Adrian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://www.colm.net/pipermail/ragel-users/attachments/20070712/895f4a14/attachment-0001.sig>
More information about the ragel-users
mailing list