12 lines
342 B
Plaintext
12 lines
342 B
Plaintext
!! 测试bflang模块的导入和使用
|
|
|
|
!! 导入bflang模块
|
|
import bflang
|
|
|
|
show(`=== Testing bflang module ===`)
|
|
|
|
!! 测试Hello World Brainfuck代码
|
|
hello_world = `++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.`
|
|
result = bf(hello_world)
|
|
show(`Brainfuck Hello World: `, result)
|