Skip to content

pjuftring/fractranC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fractranC

Are you an aspiring FRACTRAN-programmer and looking for a way to run your stuff natively? With fractranC you can easily convert your strange looking series of rational numbers to soothing and harmonious C code.

Why C?

C runs on pretty much everything and some compilers have neat optimization tools, so your FRACTRAN-programs can run with the performance they deserve!

Why?

You just found this project. What are the odds? See it as a sign, and start converting immediatly!

Building

Windows

Simply open the project files and compile it. fractran.exe should appear in the "bin"-folder, waiting to be executed.

Linux

Not supported, yet.

Running

Take a look inside the "fractran"-folder and you should find some FRACTRAN-programs to try out. (prime won't run in this early stage, though) You can compile FRACTRAN-programs by opening your shell an typing:

fractranC < fractran/add > add.c

Windows

After you compiled you program, you can run it like this:

add
echo %errorlevel%

This last line should print out, what your FRACTRAN-program returns.

Linux

Not supported, yet.

About

Converts FRACTRAN to C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published