1
0
www.mikescher.com/www/data/programs/desc/BefunUtils/index.markdown

4.5 KiB

BefunUtils

This is my collection of tools, libraries and transcompilers for the esoteric programming language Befunge.

It consists of the following core components:

### BefunGen:

A Befunge-93 to multiple procedural languages (c, java, csharp, python) transcompiler

### BefunWrite:

A small editor for Textfunge, the language used by BefunGen - use this if you want to try BefunGen for yourself

### BefunHighlight:

A dynamic Befunge-93 syntax highlighting library. Highlights your sourcecode intelligent and context-sensitive

### BefunExec:

A (fast) Befunge-93 interpreter and debugger

### BefunRep:

A tool to calculate (the best) number-representation in Befunge-93 space

### BefunCompile:

An (non-general) Befunge-93 compiler. Compile your Befunge-93 code to C, C# or Python

### BefunRun:

A simple terminal tool to run a befunge93 program (with extended grid size) and output its output.

### BefunDebug:

A debug and test tool for BefunGen, BefunCompile, BefunHighlight, etc

Set up

You can either download the binaries from www.mikescher.com.

Or you can setup the Solution by yourself:

  • Clone the BefunUtils repository
  • Clone all the subproject repositories into subfolder (or simply execute CLONE_ALL.bat)
  • (eg clone BefunExec into the folder /BefunExec)
  • Open the solution file in Visual Studio (or build all projects with the BUILD_ALL.bat script)

Screenshots

BefunExec:

BefunWrite:

BefunRep:

BefunHighlight:

BefunCompile:

BefunCompile (Graph display of Euler_Problem-002 Level 0) (via BefunDebug):

BefunCompile (Graph display of Euler_Problem-002 Level 2) (via BefunDebug):

BefunCompile (Graph display of Euler_Problem-002 Level 3) (via BefunDebug):

BefunCompile (Graph display of Euler_Problem-002 Level 5) (via BefunDebug):