zellyn/gocool
View on GitHub ↗ ★ 42 Assembly
Go implementation of the Cool programming language
4 mentions on Hacker News by 1 person: 0 stories, 4 comments · first 2015-02-13 · latest 2017-11-20
20082026
-
…downloaded and reverse-engineered, so I was still able to adequately test my Go implementation. See https://github.com/zellyn/gocool for my working but probably quite nasty code :-)
comment by zellyn · 2017-11-20 · in Stanford Compilers Course -
…get the lingo and concepts. I implemented the entire parser, typechecker, and compiler in Go here: https://github.com/zellyn/gocool I then went back and hand-wrote a recursive descent parser, just for fun: Cool is such a simple language…
comment by zellyn · 2016-12-01 · in Why I wrote a book about interpreters -
…work, it's perfectly reasonable to re-write it in whatever language you desire. Here's mine, in Go: https://github.com/zellyn/gocool Admittedly, it is the world's dumbest compiler (uses a single register, and there's no optimization), but…
comment by zellyn · 2016-05-03 · in Writing a Compiler in Go -
Oh, http://github.com/zellyn/gocool : I recommend you steal my tests (bash, sorry!) but avoid cheating too much on the actual meat of the exercises :-)
comment by zellyn · 2015-02-13 · in The Rewards of Creating a Programming Language