FYI: GoGo - a self compiling compiler for a subset of Go

246 views
Skip to first unread message

Andreas Unterweger

unread,
Jul 19, 2010, 3:59:25 AM7/19/10
to golang-nuts
Dear all,

FYI: Michael Lippautz and I have successfully created a Go compiler
[1] that compiles a subset of Go to Plan9 assembly code.
It is a completely hand-written single-pass LL1 (with one LL3
exception) compiler and should be seen as proof-of-concept. Expect
*every* interesting feature to be missing. The compiler is able to
compile itself (with the help of 6a/6l) including all of its bugs ;)
Since the compiler has been created as a university project which has
by now been submitted for grading, there will be no further
development from our side. Feel free to (re)use this project under the
license provided.

Best regards,
Andreas Unterweger
Michael Lippautz

[1] http://gitorious.org/gogo

Russ Cox

unread,
Jul 19, 2010, 11:33:36 PM7/19/10
to Andreas Unterweger, golang-nuts
> FYI: Michael Lippautz and I have successfully created a Go compiler
> [1] that compiles a subset of Go to Plan9 assembly code.
> It is a completely hand-written single-pass LL1 (with one LL3
> exception) compiler and should be seen as proof-of-concept.

Interesting! What's the LL3 exception?

Russ

Reply all
Reply to author
Forward
0 new messages