Initial commit: Oraset programming language with documentation
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
!! 测试bflang模块的导入和使用
|
||||
|
||||
!! 导入bflang模块
|
||||
import bflang
|
||||
|
||||
show(`=== Testing bflang module ===`)
|
||||
|
||||
!! 测试Hello World Brainfuck代码
|
||||
hello_world = `++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.`
|
||||
result = bf(hello_world)
|
||||
show(`Brainfuck Hello World: `, result)
|
||||
Reference in New Issue
Block a user