Skip to content

koishijs/koishi-plugin-brainfuck

Repository files navigation

koishi-plugin-brainfuck

npm

在 Koishi 中编写并运行 BrainFuck 代码。

配置项

cellSize

  • 类型: number
  • 默认值: 8

每个单元占用的比特数。

memorySize

  • 类型: number
  • 默认值: 1024

允许的最大单元数目。如果超出这个数目将会抛出错误:max memory exceed。

maxSteps

  • 类型: number
  • 默认值: 16384

允许的最大步数。如果超出这个数目将会抛出错误:max step exceeded。

指令:brainfuck

  • 基本语法:brainfuck <code> -- <input>

About

在 Koishi 中编写并运行 Brainfuck 代码

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published