[ragel-users] Re: % Leaving Action Questions

Adrian Thurston thurs... at cs.queensu.ca
Wed Mar 5 20:34:36 UTC 2008

francois.beausoleil wrote:
> With this machine, Ragel doesn't recognize "The parser assign
> francois." (meaning my notify_action isn't called).  But it does
> recognize "The parser assign to francois.", but says the name is "to
> ".

Perhaps you're giving it an 8-bit character? The built-in machine
'alpha' only accepts 7-bit alpha characters.

> Regarding scanners, I looked at chapter 6 of the guide, but couldn't
> find an immediate application.  I don't really know where/how to start
> to write my scanner.

Have a look at examples/cppscan.rl to get started.


More information about the ragel-users mailing list