npm.io
1.1.1 • Published 4 years ago

thighkiss

Licence
MIT
Version
1.1.1
Deps
0
Size
6 kB
Vulns
0
Weekly
0
Stars
1

ThighKiss

A simple brainfuck interpreter. Because there aren't enough of them.

Usage

import thighkiss from 'thighkiss'; // commonjs: const thighkiss = require('thighkiss')

console.log(thighkiss("++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++."))
// Expected output: 'Hello World!'

Features

  • Support for all commonly accepted brainfuck instructions.
  • Supports overflow wrapping.
  • Supports program inputs.

Keywords