Skip to content

FrozenLemonTee/PyBrainFuck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

brainfuck.jpg

PyBrainFuck——Python编写的BrainFuck语言编译器

什么是BrainFuck

BrainFuck是一个神奇的语言,仅仅使用几种符号、简洁的语法即可与复杂的高级语言实现一样的目的——因为他是「图灵完备」(Turing Completeness)的。但是简洁的外表下,让人又对其的行为表现难以理解,也许正印了那句话吧:Simple But Not Easy.

介绍BrainFuck的一些文章:

Wikipedia

ZhiHu

可视化:

Brainfuck Visualizer

关于PyBrainFuck的用法

python PyBrainFuck.py [file_name]

如:

>>>python PyBrainFuck.py iloveyouwatson.bf
[PyBrainFuck@1.0] output>>>I love you,Watson!

About

A BrainFuck compiler written in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published