Skip to content

A Python implementation of the esoteric programming language 'BrainFuck'

Notifications You must be signed in to change notification settings

andyhmltn/PyF-ck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyF*ck

Build Status

A Python implementation of the esoteric programming language 'BrainFuck'

Usage

from pyfuck import PyFuck

to_parse = '++++++++++[>++++>++++++++>++++++++++>+++++++++++>++++++++++++<<<<<-]>>.>>>+.<<<----------.<++.>>-.>---.'

parser = PyFuck(to_parse)
parser.parse() #=> PyF*ck

Alternate Usage

import pyfuck

to_parse = '++++++++++[>++++>++++++++>++++++++++>+++++++++++>++++++++++++<<<<<-]>>.>>>+.<<<----------.<++.>>-.>---.'

pyfuck.parse(to_parse) #=> PyF*ck

Tests

To test, run test_pyfuck.py

About

A Python implementation of the esoteric programming language 'BrainFuck'

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages