Home Befunge
News News
Befunge Befunge
   - Programs
   - Compilers
   - Interpreters
   - Documentation

Doom Doom
Inform Inform
Quake Quake
Misc Misc
Links Links
Contact Contact

Befunge-98-to-C compiler, written in C

V3.00 (07/11/2003): befc3.zip (25,300 bytes)

This is another compiler, developed from befc V2. To save my sanity I've written it in C this time, which is a big help since the compiler now supports optimisation, the x, j, and k instructions, (befc 2 did support k, but not in all situations), and error returning instructions. The code produced should be vaguely ANSI compliant (IIRC, gcc -ansi doesn't complain). It also 'supports' fingerprints, although there aren't any implemented yet. No binary is included, but that shouldn't be too much of a problem since you'll need a C compiler to compile the programs anyway.

Plans for the next release are likely to be better optimisation, and the inclusion of a Befunge output mode as well as code graph input/output - to make way for my planned C-to-Befunge compiler.

Page last modified 03/03/2005