Esolang.Funge.Processor 2.0.0

dotnet add package Esolang.Funge.Processor --version 2.0.0
                    
NuGet\Install-Package Esolang.Funge.Processor -Version 2.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Esolang.Funge.Processor" Version="2.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Esolang.Funge.Processor" Version="2.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Esolang.Funge.Processor" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Esolang.Funge.Processor --version 2.0.0
                    
#r "nuget: Esolang.Funge.Processor, 2.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Esolang.Funge.Processor@2.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Esolang.Funge.Processor&version=2.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Esolang.Funge.Processor&version=2.0.0
                    
Install as a Cake Tool

Esolang.Funge.Processor

Execution engine for Funge-98 programs.

Overview

FungeProcessor executes a FungeSpace loaded by Esolang.Funge.Parser.
It implements the full Funge-98 core instruction set including concurrent Instruction Pointers.

Supported instructions

Category Instructions
Stack 09 af (push), : (dup), $ (pop), \ (swap), n (clear)
Arithmetic + - * / %
Comparison ` !
Direction > < ^ v h l ? [ ] r x m
Movement # (trampoline), ; (jump over), j (jump forward)
String mode "
Branching _ | w
I/O . , & ~
Storage p (put), g (get)
Reflection k (iterate)
Concurrency t (split IP)
Stack stack { } u
Misc z (no-op), q (quit)
Reflected ( ) (fingerprints not implemented)

Funge-98 Compliance

Targets Funge-98 with 3D navigation (h/l/m). Fingerprint extensions are intentionally out of scope.

Category Instructions Status
Stack 09 af : $ \ n
Arithmetic + - * / %
Comparison ` !
Direction (cardinal) > < ^ v ?
Direction (Funge-98) [ ] r x w
Branching _ \|
Movement # ; j
Iteration k
String / char " ' s
Storage (self-modifying) g p (with storage offset)
I/O . , & ~
Concurrency t
Stack stack { } u
System info y
Misc z @ q
File I/O i o
System exec =
Fingerprints ( ) AZ ❌ reflects (not implemented)
3D (Trefunge) h l m

Installation

dotnet add package Esolang.Funge.Processor

Usage

using Esolang.Funge.Parser;
using Esolang.Funge.Processor;

var space = FungeParser.ParseFile("hello.b98");
var proc = new FungeProcessor(space);
int exitCode = await proc.RunToEndAsync();

FungeProcessor executes programs via an event stream. You can run it to completion using RunToEndAsync() (or the synchronous Run()), which defaults to Console.In / Console.Out.
For fine-grained control, use RunAsyncEnumerable() to handle I/O events manually.

Run() and RunToEndAsync() accept optional TextReader and TextWriter arguments, and an optional CancellationToken. They return the exit code set by q (0 if not used).

References

Target Frameworks

net8.0 · net9.0 · net10.0

AOT / trimming compatible.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.0 40 6/4/2026
1.1.1 93 5/25/2026
1.1.0 94 5/8/2026
1.0.1 95 5/6/2026
1.0.0 84 5/6/2026