Files
oraset/examples/test_bflang_import.oraset
T
2026-04-24 21:54:58 +08:00

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)