[ragel-users] Go code generations
Dan Kortschak
dan.kortschak at adelaide.edu.au
Mon Jun 11 22:27:56 PDT 2012
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.
>
More information about the ragel-users
mailing list