Skip to content

rubenwardy/rufunge

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 

Rufunge

Rufunge is a befunge clone which aims to make the language more practical, because that is obviously what befunge needs.

Aims

  • Should be a "superset" of befunge: a befunge program should work in rufunge.
  • Adds good support for subprogram libraries.
  • Adds file access.

Features

  • From Befunge:
    • Program flow, ext
    • Output
    • Arithmetic, Stack Manip,
    • Get put
    • Todo:
      • Input
      • Jump
      • Wrapping canvas
  • Rufunge superset
    • Load other Rufunge scripts as instructions.
    • Todo:
      • load C++ files as symbols to call.
      • Standard library:
        • String manip (length, compare)
        • file system
        • networking
        • graphics

Usage

Compilation

sudo apt-get install build-essential cmake
cmake .
make -j3

Run

./bin/a path/to/rufunge.rf

eg ./bin/a examples/hello_world.rf

Unit Tests

./test.sh