Yup, you read that right. For a while I worked on a project to provide a set of tools to enable a standard C compiler to
produce Befunge code. And it would have worked too, if it wasn't for
My language of choice was Befunge-93, since in my opinion Befunge 98 would have made things waaay too easy, and writing a
compiler would have been nowhere near as
The layout of a compiled program would be roughly as follows:
ZZZsssMMMM ZZZsssSSSS ZZZsss BBB CCCCCC BB B B CCCCCC BBB CCCCCC B B CCCCCC
The current version of the linker supports:
The archive of files you can download isn't particularly user friendly; it's just everything I could find stuffed into one directory and a short readme file to tell you what's what. The rest is up to you to work out :p
At some point I may have a go at finishing this off. The program structure is likely to stay the same, but the Befunge Object files may get replaced with code graphs similar to those used in the befc V3 compiler; This would also mean making use of the full Funge-98 instruction set, as well as the meta-instructions which the compiler uses. This way, all that's needed are modifications to a C compiler to produce befc-compatible code graphs, a modification to befc to allow the loading of graphs, as well as a Befunge output module for the compiler. Now that befc 3 is out, there's a good chance this project could happen soon.
"Now that befc 3 is out, there's a good chance this project could happen soon."
Page last modified 03/03/2005