bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bison and gccgo go language


From: tys lefering
Subject: bison and gccgo go language
Date: Fri, 12 Mar 2010 01:02:02 +0100
User-agent: SquirrelMail/1.4.18

Hello Akim,

The google go language gcc frontend is
now in gcc svn called gccgo.

Soon it will be in main gcc source tree
and distributed with gcc installations.

Are there plans to make bison generate
output for the go language already ?

Here a summary of some links to this:

about gccgo:
The GCC Steering Committee has accepted
the contribution of the gccgo front-end
and gcc-specific runtime for the go language.
http://gcc.gnu.org/ml/gcc/2010-01/msg00500.html

in the gcc svn branches:
http://gcc.gnu.org/viewcvs/branches/gccgo/

a yacc based parser generator tool written in go
http://golang.org/src/cmd/goyacc/goyacc.go

go language project on googlecode:
http://code.google.com/p/go/

the go language grammar for bison
http://code.google.com/p/go/source/browse/src/cmd/gc/go.y

go grammar parser error handling is using a awk script:
http://code.google.com/p/go/source/browse/src/cmd/gc/bisonerrors
http://code.google.com/p/go/source/browse/src/cmd/gc/go.errors

# It reads Bison's summary of a grammar followed by a file
# like go.errors, replacing lines beginning with % by the
# yystate and yychar that will be active when an error happens
# while parsing that line.

Thanks,
Tys Lefering.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]