Discussion:
[ragel-users] Go code generations
Dan Kortschak
2012-06-11 00:14:09 UTC
Permalink
Can I ask what the status of this development is? And whether there is a
framework for resolving this that someone could contribute to.

thanks
Dan Kortschk

> But that said, it will probably get done soonish because I'm currently
> working on ragel 7.0, including the code generators. It will be a good
> time to get it done.
>
> -Adrian
>
> On 11-07-18 04:25 AM, Miek Gieben wrote:
> > [ Quoting Adrian Thurston at 19:41 on July 17 in "Re: [ragel-users] Go code generatio"... ]
> >> http://www.complang.org/redmine/issues/307
Adrian Thurston
2012-06-11 14:27:25 UTC
Permalink
I don't have a timeline at this point. I'm not sure if anyone else is working
on it.

Regards,
Adrian

On Mon, Jun 11, 2012 at 09:44:09AM +0930, Dan Kortschak wrote:
> Can I ask what the status of this development is? And whether there is a
> framework for resolving this that someone could contribute to.
>
> thanks
> Dan Kortschk
>
> > But that said, it will probably get done soonish because I'm currently
> > working on ragel 7.0, including the code generators. It will be a good
> > time to get it done.
> >
> > -Adrian
> >
> > On 11-07-18 04:25 AM, Miek Gieben wrote:
> > > [ Quoting Adrian Thurston at 19:41 on July 17 in "Re: [ragel-users] Go code generatio"... ]
> > >> http://www.complang.org/redmine/issues/307
>
>
> _______________________________________________
> ragel-users mailing list
> ragel-users at complang.org
> http://www.complang.org/mailman/listinfo/ragel-users
Dan Kortschak
2012-06-11 22:07:27 UTC
Permalink
No worries. If there are any ideas of a sensible way to procede in tackling the problem I'd be happy to take a stab at it when time permits (I've had some ideas, but I'm not very happy with them so far).

thanks
Dan

On Jun 11, 2012, at 23:57, "Adrian Thurston" <thurston at complang.org> wrote:

> I don't have a timeline at this point. I'm not sure if anyone else is working
> on it.
>
> Regards,
> Adrian
>
> On Mon, Jun 11, 2012 at 09:44:09AM +0930, Dan Kortschak wrote:
>> Can I ask what the status of this development is? And whether there is a
>> framework for resolving this that someone could contribute to.
>>
>> thanks
>> Dan Kortschk
>>
>>> But that said, it will probably get done soonish because I'm currently
>>> working on ragel 7.0, including the code generators. It will be a good
>>> time to get it done.
>>>
>>> -Adrian
>>>
>>> On 11-07-18 04:25 AM, Miek Gieben wrote:
>>>> [ Quoting Adrian Thurston at 19:41 on July 17 in "Re: [ragel-users] Go code generatio"... ]
>>>>> http://www.complang.org/redmine/issues/307
>>
>>
>> _______________________________________________
>> 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
Daniel Tang
2012-06-12 04:01:55 UTC
Permalink
I'm getting a 404 on the Redmine issue, what remains to be done on the Go
generation? I might be able to help.

On Mon, Jun 11, 2012 at 3:07 PM, Dan Kortschak <
dan.kortschak at adelaide.edu.au> wrote:

> No worries. If there are any ideas of a sensible way to procede in
> tackling the problem I'd be happy to take a stab at it when time permits
> (I've had some ideas, but I'm not very happy with them so far).
>
> thanks
> Dan
>
> On Jun 11, 2012, at 23:57, "Adrian Thurston" <thurston at complang.org>
> wrote:
>
> > I don't have a timeline at this point. I'm not sure if anyone else is
> working
> > on it.
> >
> > Regards,
> > Adrian
> >
> > On Mon, Jun 11, 2012 at 09:44:09AM +0930, Dan Kortschak wrote:
> >> Can I ask what the status of this development is? And whether there is a
> >> framework for resolving this that someone could contribute to.
> >>
> >> thanks
> >> Dan Kortschk
> >>
> >>> But that said, it will probably get done soonish because I'm currently
> >>> working on ragel 7.0, including the code generators. It will be a good
> >>> time to get it done.
> >>>
> >>> -Adrian
> >>>
> >>> On 11-07-18 04:25 AM, Miek Gieben wrote:
> >>>> [ Quoting Adrian Thurston at 19:41 on July 17 in "Re: [ragel-users]
> Go code generatio"... ]
> >>>>> http://www.complang.org/redmine/issues/307
> >>
> >>
> >> _______________________________________________
> >> 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
>
> _______________________________________________
> 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.complang.org/pipermail/ragel-users/attachments/20120611/3942fe46/attachment.html>
Dan Kortschak
2012-06-12 05:27:56 UTC
Permalink
The issues are available in the issues directory in the git repo:

<--->
$ cat issues/307.txt
Id: 307
Subject: go code generator is now broken
Tracker: Bug
Status: New
Fixed-Version: 7.0
Created-On: Sun Jul 17 19:40:11 -0700 2011
Updated-On: Sun Dec 25 10:51:08 -0800 2011

>From Miek Gieben:

With new Go versions Ragel breaks, as the
newest weekly release(s) restricts the use of 'goto'.

See this message from Andrew Gerrand:
http://groups.google.com/group/golang-nuts/browse_thread/thread/a27ca841a496956b/6768a0f0326a6569?lnk=gst&q=goto#6768a0f0326a6569

This will soon show up in a 'stable' release thereby breaking
Ragel's ability to generate Go code.
<--->

The central issue is how to get the state machine to do transitions
without use of goto into blocks. The only thing that I can come up with
is an additional state variable handled switch by the switch, which
doesn't seem very efficient.

On Mon, 2012-06-11 at 21:01 -0700, Daniel Tang wrote:
> I'm getting a 404 on the Redmine issue, what remains to be done on the
> Go
> generation? I might be able to help.
>
Loading...