项目作者: cccm5

项目描述 :
A befunge-93 interpreter written in r5rs scheme
高级语言: Racket
项目地址: git://github.com/cccm5/Befunge-93-Interpreter.git
创建时间: 2018-04-27T00:17:22Z
项目社区:https://github.com/cccm5/Befunge-93-Interpreter

开源协议:

下载


A befunge interpreter written in r5rs scheme

  1. (befunge "64+\"!dlroW ,olleH\">:#,_@")

Prints Hello, World!

  1. (befunge "v>>>>>v"
  2. " 12345"
  3. " ^?^"
  4. "> ? ?^"
  5. " v?v"
  6. " 6789"
  7. " >>>> v"
  8. "^ .<")

Prints an infinite stream of random numbers between 1 and 9

Notes:

  • this implementation can accept grids of almost any size, which may break programs that use the fixed grid size
  • Rows can have variable sizes but will all be maximized in the grid
  • use escape characters for " and \
  • The official Befunge documentation
  • Befunge on Esolang

There are slight differences between the specification on Esolang and the official ones. This implemntation uses the specifications described on Esolang.