Skip to content

Billocap/subf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Subroutines for BrainFuck

As the name implies this project adds subroutines for BrainFuck (BF).

Building and Running

This project is written in Typescript and must be compiled before it can be used.

To compile this project run the following command:

pnpm run build
# or
npm run build
# or
yarn build

Once the compilation has finished a new folder named dist will appear. Then you can run the app with the command:

node ./dist/app.js

Usage

This interpreter can execute regular BrainFuck files (.bf) and BrainFuck files with subroutines (.subf).

To execute a file run the following command:

node ./dist/app.js <file>

where:

  • file - Is the path to the file to be interpreted.

Calling it without an input file will throw an error.

About

A interpreter that adds subroutines for BrainFuck.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published