[ragel-users] Actions with arguments?

Adrian Thurston thurston at complang.org
Sat Jun 11 07:18:44 UTC 2011


We're probably talking about two different features. I'm thinking about 
giving ragel some macro features (like C macros) so there doesn't have 
to be repetition or function calls.

Can you give an example of what you'd like to see?

On 06/10/11 23:06, Andrei Polushin wrote:
> To add a second remark, actions with arguments could be somehow different.
>
> I thought they are expected to behave like 'functions' that push their
> arguments onto the fcall stack, so we can implement parsers in a way
> similar to the recursive-descent technique, switching between the state
> machines and a host language programming.
>
> Is it feasible? Does it make sense?
>
> --
> Andrei Polushin
>
>
>
> _______________________________________________
> ragel-users mailing list
> ragel-users at complang.org
> http://www.complang.org/mailman/listinfo/ragel-users

-- 
Adrian D. Thurston
http://www.complang.org/thurston/

_______________________________________________
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