Skip to content

LordOfTrident/brainfcxx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

brainfcxx

A brainf+ck interpreter written in C++

License Issues GitHub pull requests


Brainf+ck is a programming language created in 1993 by Urban Müller, you can read more on it here

Features

  • Changable cells count
  • Changable cell size
  • Nested loops support
  • Interprets all files in parameters
  • Last cells value used for the exitcode
  • A REPL when no files were provided

Usage

The entire interpreter is in a single header file brainfcxx.hh. You can use it in your project if you want. Use the -h or --help parameters to show the usage. If you dont provide any files in the command line parameters, the REPL start automatically.

Make

Use make all to see all the make targets.

Compiling

Run make or make compile which will create a binary in the bin/ folder.

If you want to change the compiler make uses, set the CXX variable. Example: make CXX=g++

Installing

(This step is Linux-only) To install the interpreter, run make install and then you can use bfcxx anywhere.

About

A Brainf+ck interpreter written in C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published