Skip to content

Esolang-NET/Funge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Esolang.Funge

.NET

Quick Start (Generator)

Write Funge-98 once, call it as a C# method.

using Esolang.Funge;

Console.WriteLine(FungeSample.HelloWorld());

partial class FungeSample
{
    // File-based
    [GenerateFungeMethod("Programs/hello.b98")]
    public static partial string HelloWorld();

    // Or inline — no .b98 file needed
    [GenerateFungeMethod(InlineSource = "64+\"!dlroW ,olleH\">:#,_@")]
    public static partial string HelloWorldInline();
}

// output:
// Hello, World!
// Hello, World!

Generator Guide

For detailed Generator signatures and patterns (string, TextReader, PipeReader, TextWriter, PipeWriter, sync/async returns, byte-sequence returns, inline source), see:

For runnable examples covering all return types and inline source, see:

Install

dotnet add package Esolang.Funge.Generator
dotnet add package Esolang.Funge.Parser
dotnet add package Esolang.Funge.Processor
dotnet tool install -g dotnet-funge --prerelease

Choose Package

Want to do Package
Generate C# methods from Funge-98 at compile time Esolang.Funge.Generator
Parse source into a FungeSpace Esolang.Funge.Parser
Execute Funge-98 in-process Esolang.Funge.Processor
Run Funge-98 from CLI dotnet-funge

NuGet

Project NuGet Summary
dotnet-funge NuGet: dotnet-funge Funge-98 command-line interpreter.
Esolang.Funge.Generator NuGet: Esolang.Funge.Generator Funge-98 source generator.
Esolang.Funge.Parser NuGet: Esolang.Funge.Parser Funge-98 source parser.
Esolang.Funge.Processor NuGet: Esolang.Funge.Processor Funge-98 execution engine.

Framework Support

Project Target frameworks
Esolang.Funge.Generator netstandard2.0
Esolang.Funge.Parser net8.0, net9.0, net10.0, netstandard2.0
Esolang.Funge.Processor net8.0, net9.0, net10.0
dotnet-funge net8.0, net9.0, net10.0

Changelog

See also

About

A modular and extensible .NET implementation of the Funge‑98 family, designed with a unified execution model and generator architecture.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages