[ragel-users] Reading from stream instead of buffer
ragel at zevv.nl
Sat Apr 18 20:16:59 UTC 2009
* On 2009-04-18 Adrian Thurston <thurston at complang.org> wrote :
> You can execute on one character at a time.
> while (true)
> int c = getchar();
> if ( c == EOF )
> char cv = c;
> char *p = &cv;
> char *pe = p + 1;
> %%write exec;
Ah yes, I figured this out eventually, but I was bitten by using the
wrong alphtype which caused me other troubles.
More information about the ragel-users