Debian Codegraph @

tacky/build.sh

raw
1 #!/bin/bash
2 ${NEXBIN:=~/nex} tacky.nex
3 go tool yacc tacky.y
4 # Could use nex instead of ed, but that'd be a little gratuitous.
5 printf '/NEX_END_OF_LEXER_STRUCT/i\np *Tacky\n.\nw\nq\n' | ed -s tacky.nn.go
6 go build tacky.go tacky.nn.go y.go