[ragel-users] multiple output files

Adrian Thurston thurs... at cs.queensu.ca
Mon Oct 6 17:39:37 UTC 2008

Hi Robert,

Ragel used to behave that way. You had one .rl file and it would spit 
out code and a header for you, but I fond it to be a pain to write 
makefiles. Now the model is one input file, one output file.


robertle wrote:
> hi folks,
> i asked this on irc, but wasn't able to stick around, sorry for the
> duplication.
> anyway: is there a way to generate multiple output files from one
> ragel file? i am generating c++ classes that encapsulate a state
> machine, and in the moment i have one .rl file and one .h file for
> each machine. this is ok, but it would be very neat if i could just
> include the .h declarations in the .rl file...
> thanks  robert

More information about the ragel-users mailing list