Skip to content

izabera/bfsed

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
 
 
 
 
 
 
 
 
 
 

bfsed

  • Input after !
  • 8 bit cells
  • EOF == 0

Requires gnu sed for things like \x00, and spaces/; after labels.

Must set LANG=C.

$ LANG=C ./bfsed < hello_world
Hello World!
$ LANG=C ./bfsed <<< ',[>,]<[.<]!foobar'
raboof

bugs

  • dog slow
  • always prints an extra trailing newline
  • a trailing newline in input is ignored

license

shmicense

About

brainfuck interpreter in sed

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published