Skip to content

WilhelmStein/Befunge-93-plus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Befunge-93+

An indirectly threaded vm for the language Befunge-93+, written in C++.

What is Befunge-93+ ?


Befunge-93+ is an extension of the language Befunge-93+, that adds a garbage collector and the following commands:

  • (c) cons : Removes 2 elements b, a from the stack and creates a new pair (cons cell) that contains a in the first position and b in the second. Said pair's address is placed at the top of the stack.

  • (h) head : Removes the element currently residing at the top of the stack, which must be the address of a cons cell, and puts the value in the first position of the pair at the top of the stack.

  • (t) tail : Same as h, but for the second position of the pait.

Notes


Use the makefile to create the executable. You can use the run.sh to automatically run tests on this executable and cross check the output with the original one. Just clone the original Befunge-93 git inside the root folder of this project and use its makefile.

About

A vm for the language Befunge-93+, written in C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published