Esolang.Funge.Processor 1.0.1

dotnet add package Esolang.Funge.Processor --version 1.0.1
                    
NuGet\Install-Package Esolang.Funge.Processor -Version 1.0.1
                    
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="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Esolang.Funge.Processor" Version="1.0.1" />
                    
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 1.0.1
                    
#r "nuget: Esolang.Funge.Processor, 1.0.1"
                    
#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@1.0.1
                    
#: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=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=Esolang.Funge.Processor&version=1.0.1
                    
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 ? [ ] r x
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 ( ) i o h l m (fingerprints / 3-D / file I/O not implemented)

Funge-98 Compliance

Targets Befunge-98 (2D). Trefunge-98 and 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 🟡 env vars / command-line args are empty
Misc z @ q
File I/O i o ❌ reflects (not implemented)
System exec = ❌ reflects (not implemented)
Fingerprints ( ) AZ ❌ reflects (not implemented)
3D (Trefunge) h l m ❌ reflects (2D only)

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, Console.Out, Console.In);
int exitCode = proc.Run();

FungeProcessor accepts optional TextWriter (output) and TextReader (input) arguments, defaulting to Console.Out / Console.In.
Run() accepts an optional CancellationToken and returns 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
1.0.1 25 5/6/2026
1.0.0 23 5/6/2026