a Funge-98 interpreter written in go
Find a file
2021-10-06 00:07:46 +02:00
cmd/headless_interpreter Renamed project since I do not intend to support over funge variants 2021-09-24 10:09:33 +02:00
mycology@3787e42c3d Made the interpreter pass most of the mycology test suite 2021-09-24 01:26:49 +02:00
pkg Improved a test case 2021-10-06 00:07:46 +02:00
spec@7b4330df1a Made the interpreter pass most of the mycology test suite 2021-09-24 01:26:49 +02:00
.gitmodules Made the interpreter pass most of the mycology test suite 2021-09-24 01:26:49 +02:00
go.mod Renamed project since I do not intend to support over funge variants 2021-09-24 10:09:33 +02:00
go.sum Made the interpreter pass most of the mycology test suite 2021-09-24 01:26:49 +02:00
LICENSE Initial import 2021-09-14 00:16:05 +02:00
README.md Added README 2021-09-27 08:13:56 +02:00

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 and o commands
  • does not implement system execution with the = command

Contents

Dependencies

go is required. Only go version >= 1.17 on linux amd64 (Gentoo) is being regularly tested.

Quick Install

go install git.adyxax.org/adyxax/gofunge98/cmd/headless_interpreter@latest

Usage

Launching the headless_interpreter is as simple as :

headless_interpreter -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/headless_interpreter/

For a release build, use :

go build -ldflags '-s -w -extldflags "-static"' ./cmd/headless_interpreter/