a Funge-98 interpreter written in go
.github | ||
cmd/gofunge98 | ||
mycology@2e405a62a3 | ||
pkg | ||
spec@7b4330df1a | ||
.gitmodules | ||
go.mod | ||
go.sum | ||
LICENSE | ||
README.md |
GoFunge98 : a Funge-98 interpreter written in go
This repository contains code for a go program that can interpret a valid Funge-98 program. It passes the mycology test suite.
Current limitations are :
- currently does not implement any fingerprints
- does not implement concurrent execution with the
t
command - does not implement file I/O with the
i
ando
commands - does not implement system execution with the
=
command
Contents
Dependencies
go is required. Only go version >= 1.22.1 on linux amd64 (Gentoo) is being regularly tested.
Quick Install
go install git.adyxax.org/adyxax/gofunge98/cmd/gofunge98@latest
Usage
Launching the gofunge98 is as simple as :
gofunge98 -f something.b98
The interpreter will then load and execute the specified Funge-98 program until the program normally terminates or is interrupted or killed.
Building
To run tests, use :
go test -cover ./...
For a debug build, use :
go build ./cmd/gofunge98/
For a release build, use :
go build -ldflags '-s -w -extldflags "-static"' ./cmd/gofunge98/