Hacker GitHub

← All repos

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

Mentions per year 4 mentions · busiest year 2016 (2)
20082026
  1. …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
  2. …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
  3. …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
  4. 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 :-)