[ragel-users] Setting the "main := XXXX" value dynamically [SOLVED]

Adrian Thurston thurston at complang.org
Fri Feb 6 00:37:56 UTC 2009

The problem is that you're doing something I didn't anticipate ... 
importing from a C file when the input language is Ruby.


Iñaki Baz Castillo wrote:
> El Martes, 3 de Febrero de 2009, Iñaki Baz Castillo escribió:
>> Hi, I want to set the "main" value of a Ragel dynamically based on the
>> content of a "main.h" file. Note however that I run Ragel using Ruby as
>> host language.
> Ok, I've solved it using replacing the "main := xxxx" string with "sed" before 
> running ragel.

More information about the ragel-users mailing list