Skip to content

An interactive shell for the esoteric programming language Befunge. Intended to be used for debugging and playing around :-)

License

Notifications You must be signed in to change notification settings

derdon/befungeshell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

befungeshell

Description and Usage

befungeshell is a little tool which helps you with developping befunge scripts. After having installed it, you can run befungeshell.py from your terminal to start it. Here is an example session to illustrate its usage:

>>> show_stack
[]
>>> 5
>>> 5
>>> *
>>> 3
>>> *
>>> 5
>>> 2
>>> *
>>> show_stack
[75, 10]
>>> 2
>>> *
>>> show_stack
[75, 20]
>>> +
>>> 2
>>> +
>>> show_stack
[97]
>>> help
List of all available commands (type "help <command>")
======================================================

Befunge Commands
----------------
0  2  4  6  8  +  *  %  `  <  v  _  "  \  .  #  ~
1  3  5  7  9  -  /  !  >  ^  ?  |  :  $  ,  &  @

Additional helper functions
----------------------------
show_stack  show_pc  quit  help

>>> help ,
Pop value and output as ASCII character
>>> ,
a
>>> help show_stack
print the content of the stack
>>> show_stack
[]

How to install

If you use pip or easy_install to install python packages, enter pip install befungeshell or easy_install befungeshell, respectively.

If you have downloaded befungeshell in any way, you can install it by calling python setup.py install from your terminal inside the befungeshell directory.

About

An interactive shell for the esoteric programming language Befunge. Intended to be used for debugging and playing around :-)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages