[ragel-users] Defining transitions at run time

Matt Mongeau halogenandtoast at gmail.com
Wed Nov 24 22:11:16 UTC 2010


Pity, I wanted to allows users to specify the delimiter...

On Wed, Nov 24, 2010 at 5:02 PM, Adrian Thurston <
adrian.thurston at esentire.com> wrote:

> Typically not. You can decide which machine you want to transfer control to
> at runtime. You can also augment transitions by attaching conditions that
> are tested at runtime. But you cannot alter the graph at runtime.
>
> -Adrian
>
>
>
> On 10-11-24 01:40 PM, Matt Mongeau wrote:
>
>> Can I define a transition at run time, i.e. I'm parsing csv files, but I
>> might want to parse tab delimited instead.
>> right now I'm doing something ugly like this:
>>
>> https://github.com/toastyapps/excelsior/blob/formats/ext/excelsior_reader/excelsior_reader.rl
>>
>>
>>
>>
>> _______________________________________________
>> ragel-users mailing list
>> ragel-users at complang.org
>> http://www.complang.org/mailman/listinfo/ragel-users
>>
>
> _______________________________________________
> ragel-users mailing list
> ragel-users at complang.org
> http://www.complang.org/mailman/listinfo/ragel-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.colm.net/pipermail/ragel-users/attachments/20101124/d1f91dcb/attachment-0001.html>
-------------- next part --------------
_______________________________________________
ragel-users mailing list
ragel-users at complang.org
http://www.complang.org/mailman/listinfo/ragel-users


More information about the ragel-users mailing list