├── .clang-format ├── .gitignore ├── .travis.yml ├── LICENSE ├── bin ├── .gitignore ├── array.bn ├── dir.bn ├── echo.bn ├── file.bn ├── help.bn ├── ioutil.bn ├── list.bn ├── ls.bn ├── perf.sh ├── plugins │ └── .gitignore ├── reflection.bn ├── regex.bn ├── repl.bn ├── string.bn ├── string_buffer.bn ├── system.bn ├── testdata │ ├── A_VMPass.in │ ├── Args_RunPass.bn │ ├── Array2_RunPass.in │ ├── Array3_RunPass.in │ ├── Array4_RunPass.in │ ├── Array5_RunPass.in │ ├── ArrayLit2_ParsePass.in │ ├── ArrayLit2_RunPass.in │ ├── ArrayLit_ParsePass.in │ ├── ArrayLit_RunPass.in │ ├── Array_ParsePass.in │ ├── Array_RunFail.in │ ├── Array_RunPass.in │ ├── Assign2_ParsePass.in │ ├── Assign_ParsePass.in │ ├── Assign_RunPass.in │ ├── Bool2_RunPass.in │ ├── Bool3_RunPass.in │ ├── Bool4_RunPass.in │ ├── Bool_RunPass.in │ ├── Calc_ParsePass.in │ ├── CharLit_VMPass.in │ ├── Char_RunPass.in │ ├── Continue_RunPass.in │ ├── Defer2_RunPass.in │ ├── Defer_ParsePass.in │ ├── Defer_RunPass.in │ ├── Define2_RunPass.in │ ├── Define3_RunPass.in │ ├── Define4_RunPass.in │ ├── Define_RunPass.in │ ├── Dir2_RunPass.in │ ├── Dir_RunFail.in │ ├── Dir_RunPass.in │ ├── Double2_RunPass.in │ ├── Double_RunPass.in │ ├── EndsWith_RunPass.in │ ├── Eval_RunPass.in │ ├── Exception2_RunPass.in │ ├── Exception3_RunPass.in │ ├── Exception_RunPass.in │ ├── Export_RunPass.in │ ├── Extern2_RunFail.in │ ├── Extern2_RunPass.in │ ├── Extern3_RunFail.in │ ├── Extern3_RunPassPanic.in │ ├── Extern_RunFail.in │ ├── Extern_RunPass.in │ ├── File2_RunPass.in │ ├── File3_RunPass.in │ ├── File_RunPass.in │ ├── ForEach2_RunPass.in │ ├── ForEach_RunPass.in │ ├── FuncCall2_ParsePass.in │ ├── FuncCall3_ParsePass.in │ ├── FuncCall4_ParsePass.in │ ├── FuncCall5_ParsePass.in │ ├── FuncCall_ParsePass.in │ ├── Hello_RunFail.in │ ├── Hello_VMPass.bn │ ├── HiddenVar2_RunFail.in │ ├── HiddenVar3_RunFail.in │ ├── HiddenVar_RunFail.in │ ├── IBLambda2_RunPass.in │ ├── IBLambda_RunPass.in │ ├── IErr_RunPassPanic.in │ ├── IOUtil2_RunPass.in │ ├── IOUtil_RunPass.in │ ├── If2_ParsePass.in │ ├── If2_RunPass.in │ ├── If3_ParsePass.in │ ├── If3_RunPass.in │ ├── If4_ParsePass.in │ ├── If5_ParsePass.in │ ├── If6_ParsePass.in │ ├── If7_ParsePass.in │ ├── If_ParsePass.in │ ├── If_RunPass.in │ ├── Include2_RunPass.in │ ├── Include3_RunPass.in │ ├── Include4_RunPass.in │ ├── Include_RunPass.in │ ├── Injection2_ParsePass.in │ ├── Injection2_RunPass.in │ ├── Injection3_ParsePass.in │ ├── Injection3_RunPass.in │ ├── Injection4_ParsePass.in │ ├── Injection4_RunPass.in │ ├── Injection5_RunPass.in │ ├── Injection6_RunPass.in │ ├── Injection7_RunPass.in │ ├── Injection_ParsePass.in │ ├── Injection_RunPass.in │ ├── Int2_RunPass.in │ ├── Int3_ParsePass.in │ ├── Int3_RunPass.in │ ├── Int4_RunPass.in │ ├── Int_RunFail.in │ ├── Int_RunPass.in │ ├── LP_ParsePass.in │ ├── Lambda2_ParsePass.in │ ├── Lambda2_RunPass.in │ ├── Lambda3_ParsePass.in │ ├── Lambda4_ParsePass.in │ ├── Lambda_ParsePass.in │ ├── Lambda_RunPass.in │ ├── List2_RunPass.in │ ├── List3_RunPass.in │ ├── List_RunPass.in │ ├── Load_RunPass.in │ ├── Loop_RunPass.in │ ├── Object2_RunPass.in │ ├── Object_RunPass.in │ ├── Panic10_RunPassPanic.in │ ├── Panic11_RunPassPanic.in │ ├── Panic12_RunPassPanic.in │ ├── Panic13_RunPassPanic.in │ ├── Panic14_RunPassPanic.in │ ├── Panic15_RunPassPanic.in │ ├── Panic2_RunPassPanic.in │ ├── Panic3_RunPassPanic.in │ ├── Panic4_RunPassPanic.in │ ├── Panic5_RunPassPanic.in │ ├── Panic6_RunPassPanic.in │ ├── Panic7_RunPassPanic.in │ ├── Panic8_RunPassPanic.in │ ├── Panic9_RunPassPanic.in │ ├── Panic_RunFail.in │ ├── Panic_RunPass.in │ ├── Panic_RunPassPanic.in │ ├── Paninc2_RunPass.in │ ├── Path_RunPass.in │ ├── PluginLoad.inc │ ├── PluginLoad_RunFail.in │ ├── Print_RunPass.in │ ├── Println_RunPass.in │ ├── Program_ParsePass.in │ ├── Proto_RunPass.in │ ├── Rec_RunFail.in │ ├── Regex_RunPass.in │ ├── Return_ParsePass.in │ ├── Return_VMPass.in │ ├── ScopeInjection_ParsePass.in │ ├── ShortC2_RunPass.in │ ├── ShortC3_RunPass.in │ ├── ShortC4_RunPass.in │ ├── ShortC5_RunPass.in │ ├── ShortC_RunPass.in │ ├── StartsWith_RunFail.in │ ├── StartsWith_RunPass.in │ ├── StrEq_RunPass.in │ ├── String2_RunPass.in │ ├── String3_RunPass.in │ ├── StringAdd2_RunPass.in │ ├── StringAdd_RunPass.in │ ├── StringBuffer_RunPass.in │ ├── String_RunPass.in │ ├── String_VMPass.in │ ├── Syntax2_VMFail.in │ ├── Syntax_VMFail.in │ ├── This_RunPass.in │ ├── ToString_RunPass.in │ ├── UMV10_RunPassPanic.in │ ├── UMV11_RunPassPanic.in │ ├── UMV12_RunPass.in │ ├── UMV2_RunPass.in │ ├── UMV3_RunPass.in │ ├── UMV4_RunPass.in │ ├── UMV5_RunPass.in │ ├── UMV6_RunPass.in │ ├── UMV7.inc │ ├── UMV7_RunPass.in │ ├── UMV8.inc │ ├── UMV8.inc2 │ ├── UMV8_RunPass.in │ ├── UMV9.inc │ ├── UMV9.libb │ ├── UMV9.libb.info │ ├── UMV9_RunPass.in │ ├── UMV_RunPass.in │ ├── Var2_ParsePass.in │ ├── VarRet2_RunPass.in │ ├── VarRet3_RunPass.in │ ├── VarRet_RunPass.in │ ├── Var_ParsePass.in │ ├── While2_ParsePass.in │ ├── While_ParsePass.in │ ├── While_RunPass.in │ ├── With_RunPass.in │ ├── dummy2_ParseFail.in │ ├── dummy_ParseFail.in │ ├── iotest │ │ └── .gitignore │ ├── lib │ │ ├── array.in │ │ ├── bool.in │ │ ├── foreach.in │ │ ├── hidden.in │ │ ├── invalid.in │ │ ├── lib.in │ │ ├── overwrite.in │ │ └── string.in │ └── out │ │ └── .gitignore ├── tree.bn └── with.bn ├── bone.rb ├── doc ├── blt.md ├── build.md ├── doxygen │ └── .gitignore ├── embed.md ├── interactive.md ├── mdtest.sh ├── path.md ├── platform.md ├── plugin.md ├── spec.md ├── style.md └── test.md ├── embed.rb ├── ffi.rb ├── lib └── .gitignore ├── mdtest.sh ├── plugin.rb ├── readme.md ├── setup_sln.rb ├── src ├── .gitignore ├── CMakeLists.txt ├── Doxyfile ├── bone │ ├── bone.h │ ├── config.c │ ├── config.h.in │ ├── config.inc │ ├── glib.h │ ├── il │ │ ├── compile_cache.c │ │ ├── compile_cache.h │ │ ├── il_expr_all.h │ │ ├── il_expr_array_lit.c │ │ ├── il_expr_array_lit.h │ │ ├── il_expr_array_subscript.c │ │ ├── il_expr_array_subscript.h │ │ ├── il_expr_binop.c │ │ ├── il_expr_binop.h │ │ ├── il_expr_char.c │ │ ├── il_expr_char.h │ │ ├── il_expr_double.c │ │ ├── il_expr_double.h │ │ ├── il_expr_funccallop.c │ │ ├── il_expr_funccallop.h │ │ ├── il_expr_int.c │ │ ├── il_expr_int.h │ │ ├── il_expr_lambda.c │ │ ├── il_expr_lambda.h │ │ ├── il_expr_memberop.c │ │ ├── il_expr_memberop.h │ │ ├── il_expr_object_injection.c │ │ ├── il_expr_object_injection.h │ │ ├── il_expr_string.c │ │ ├── il_expr_string.h │ │ ├── il_expr_uop.c │ │ ├── il_expr_uop.h │ │ ├── il_expr_variable.c │ │ ├── il_expr_variable.h │ │ ├── il_expression.c │ │ ├── il_expression.h │ │ ├── il_lineno.c │ │ ├── il_lineno.h │ │ ├── il_statement.c │ │ ├── il_statement.h │ │ ├── il_stmt_all.h │ │ ├── il_stmt_defer.c │ │ ├── il_stmt_defer.h │ │ ├── il_stmt_expr_stmt.c │ │ ├── il_stmt_expr_stmt.h │ │ ├── il_stmt_if.c │ │ ├── il_stmt_if.h │ │ ├── il_stmt_return.c │ │ ├── il_stmt_return.h │ │ ├── il_stmt_scope_injection.c │ │ ├── il_stmt_scope_injection.h │ │ ├── il_stmt_while.c │ │ ├── il_stmt_while.h │ │ ├── il_toplevel.c │ │ └── il_toplevel.h │ ├── main.c │ ├── parse │ │ ├── .gitignore │ │ ├── ast.c │ │ ├── ast.h │ │ ├── ast2il.c │ │ ├── ast2il.h │ │ ├── bone.l │ │ ├── bone.tab.c │ │ ├── bone.tab.h │ │ ├── bone.y │ │ ├── gen.sh │ │ ├── lex.yy.c │ │ ├── parser.c │ │ └── parser.h │ ├── runtime │ │ ├── any.c │ │ ├── any.h │ │ ├── array.c │ │ ├── array.h │ │ ├── bool.c │ │ ├── bool.h │ │ ├── char.c │ │ ├── char.h │ │ ├── double.c │ │ ├── double.h │ │ ├── enviroment.c │ │ ├── enviroment.h │ │ ├── extern │ │ │ ├── dir.c │ │ │ ├── dir.h │ │ │ ├── file.c │ │ │ ├── file.h │ │ │ ├── reflection.c │ │ │ ├── reflection.h │ │ │ ├── regex.c │ │ │ ├── regex.h │ │ │ ├── string_buffer.c │ │ │ ├── string_buffer.h │ │ │ ├── system.c │ │ │ └── system.h │ │ ├── frame.c │ │ ├── frame.h │ │ ├── heap.c │ │ ├── heap.h │ │ ├── integer.c │ │ ├── integer.h │ │ ├── interactive.c │ │ ├── interactive.h │ │ ├── interpreter.c │ │ ├── interpreter.h │ │ ├── keyword.h │ │ ├── label.c │ │ ├── label.h │ │ ├── lambda.c │ │ ├── lambda.h │ │ ├── line_range.c │ │ ├── line_range.h │ │ ├── module.c │ │ ├── module.h │ │ ├── object.c │ │ ├── object.h │ │ ├── opcode.c │ │ ├── opcode.h │ │ ├── snapshot.c │ │ ├── snapshot.h │ │ ├── std.c │ │ ├── std.h │ │ ├── storage.c │ │ ├── storage.h │ │ ├── string.c │ │ ├── string.h │ │ ├── vm.c │ │ └── vm.h │ ├── test.c │ ├── test.h │ └── util │ │ ├── args.c │ │ ├── args.h │ │ ├── fmt.c │ │ ├── fmt.h │ │ ├── getline.c │ │ ├── getline.h │ │ ├── io.c │ │ ├── io.h │ │ ├── jump_stack.c │ │ ├── jump_stack.h │ │ ├── memory.c │ │ ├── memory.h │ │ ├── stack.c │ │ ├── stack.h │ │ ├── string_pool.c │ │ ├── string_pool.h │ │ ├── string_util.c │ │ ├── string_util.h │ │ ├── winglib.c │ │ └── winglib.h ├── buildall.rb ├── enc.sh └── utest.sh └── template ├── funcc.txt ├── funch.txt └── il.txt /.clang-format: -------------------------------------------------------------------------------- 1 | BasedOnStyle: Google 2 | IndentWidth: 8 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/LICENSE -------------------------------------------------------------------------------- /bin/.gitignore: -------------------------------------------------------------------------------- 1 | bone 2 | *.prof -------------------------------------------------------------------------------- /bin/array.bn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/array.bn -------------------------------------------------------------------------------- /bin/dir.bn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/dir.bn -------------------------------------------------------------------------------- /bin/echo.bn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/echo.bn -------------------------------------------------------------------------------- /bin/file.bn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/file.bn -------------------------------------------------------------------------------- /bin/help.bn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/help.bn -------------------------------------------------------------------------------- /bin/ioutil.bn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/ioutil.bn -------------------------------------------------------------------------------- /bin/list.bn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/list.bn -------------------------------------------------------------------------------- /bin/ls.bn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/ls.bn -------------------------------------------------------------------------------- /bin/perf.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/perf.sh -------------------------------------------------------------------------------- /bin/plugins/.gitignore: -------------------------------------------------------------------------------- 1 | *.dll 2 | *.dylib 3 | *.so -------------------------------------------------------------------------------- /bin/reflection.bn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/reflection.bn -------------------------------------------------------------------------------- /bin/regex.bn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/regex.bn -------------------------------------------------------------------------------- /bin/repl.bn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/repl.bn -------------------------------------------------------------------------------- /bin/string.bn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/string.bn -------------------------------------------------------------------------------- /bin/string_buffer.bn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/string_buffer.bn -------------------------------------------------------------------------------- /bin/system.bn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/system.bn -------------------------------------------------------------------------------- /bin/testdata/A_VMPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/A_VMPass.in -------------------------------------------------------------------------------- /bin/testdata/Args_RunPass.bn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Args_RunPass.bn -------------------------------------------------------------------------------- /bin/testdata/Array2_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Array2_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Array3_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Array3_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Array4_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Array4_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Array5_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Array5_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/ArrayLit2_ParsePass.in: -------------------------------------------------------------------------------- 1 | a := [ 0, 1, [2, 3, 4] ]; -------------------------------------------------------------------------------- /bin/testdata/ArrayLit2_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/ArrayLit2_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/ArrayLit_ParsePass.in: -------------------------------------------------------------------------------- 1 | a := [ 0, 1, 2 ]; -------------------------------------------------------------------------------- /bin/testdata/ArrayLit_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/ArrayLit_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Array_ParsePass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Array_ParsePass.in -------------------------------------------------------------------------------- /bin/testdata/Array_RunFail.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Array_RunFail.in -------------------------------------------------------------------------------- /bin/testdata/Array_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Array_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Assign2_ParsePass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Assign2_ParsePass.in -------------------------------------------------------------------------------- /bin/testdata/Assign_ParsePass.in: -------------------------------------------------------------------------------- 1 | a := 1 + 2; -------------------------------------------------------------------------------- /bin/testdata/Assign_RunPass.in: -------------------------------------------------------------------------------- 1 | a := 1 + 2; 2 | a; -------------------------------------------------------------------------------- /bin/testdata/Bool2_RunPass.in: -------------------------------------------------------------------------------- 1 | assert(true | false); -------------------------------------------------------------------------------- /bin/testdata/Bool3_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Bool3_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Bool4_RunPass.in: -------------------------------------------------------------------------------- 1 | assert(!false); -------------------------------------------------------------------------------- /bin/testdata/Bool_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Bool_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Calc_ParsePass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Calc_ParsePass.in -------------------------------------------------------------------------------- /bin/testdata/CharLit_VMPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/CharLit_VMPass.in -------------------------------------------------------------------------------- /bin/testdata/Char_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Char_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Continue_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Continue_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Defer2_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Defer2_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Defer_ParsePass.in: -------------------------------------------------------------------------------- 1 | defer printLine("defer"); -------------------------------------------------------------------------------- /bin/testdata/Defer_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Defer_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Define2_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Define2_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Define3_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Define3_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Define4_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Define4_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Define_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Define_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Dir2_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Dir2_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Dir_RunFail.in: -------------------------------------------------------------------------------- 1 | {} <- load("dir.bn"); 2 | 3 | files(0); -------------------------------------------------------------------------------- /bin/testdata/Dir_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Dir_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Double2_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Double2_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Double_RunPass.in: -------------------------------------------------------------------------------- 1 | dv := 0.5; 2 | println(dv.to_string()); -------------------------------------------------------------------------------- /bin/testdata/EndsWith_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/EndsWith_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Eval_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Eval_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Exception2_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Exception2_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Exception3_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Exception3_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Exception_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Exception_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Export_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Export_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Extern2_RunFail.in: -------------------------------------------------------------------------------- 1 | {} <- load("./testdata/vm/err/Extern_R.in"); 2 | open(0, 1); -------------------------------------------------------------------------------- /bin/testdata/Extern2_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Extern2_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Extern3_RunFail.in: -------------------------------------------------------------------------------- 1 | {} <- include("./testdata/vm/err/Extern2_R.in"); -------------------------------------------------------------------------------- /bin/testdata/Extern3_RunPassPanic.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Extern3_RunPassPanic.in -------------------------------------------------------------------------------- /bin/testdata/Extern_RunFail.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Extern_RunFail.in -------------------------------------------------------------------------------- /bin/testdata/Extern_RunPass.in: -------------------------------------------------------------------------------- 1 | {} <- load("./system.bn"); -------------------------------------------------------------------------------- /bin/testdata/File2_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/File2_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/File3_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/File3_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/File_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/File_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/ForEach2_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/ForEach2_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/ForEach_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/ForEach_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/FuncCall2_ParsePass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/FuncCall2_ParsePass.in -------------------------------------------------------------------------------- /bin/testdata/FuncCall3_ParsePass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/FuncCall3_ParsePass.in -------------------------------------------------------------------------------- /bin/testdata/FuncCall4_ParsePass.in: -------------------------------------------------------------------------------- 1 | ins.m(0, 1); -------------------------------------------------------------------------------- /bin/testdata/FuncCall5_ParsePass.in: -------------------------------------------------------------------------------- 1 | ins.m(0, hoge("aaa")); -------------------------------------------------------------------------------- /bin/testdata/FuncCall_ParsePass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/FuncCall_ParsePass.in -------------------------------------------------------------------------------- /bin/testdata/Hello_RunFail.in: -------------------------------------------------------------------------------- 1 | fio := object() <- load("./file.bn"); 2 | fio.stdout.puts(); -------------------------------------------------------------------------------- /bin/testdata/Hello_VMPass.bn: -------------------------------------------------------------------------------- 1 | fio := object() <- load("./file.bn"); 2 | fio.stdout.puts("hello, world"); -------------------------------------------------------------------------------- /bin/testdata/HiddenVar2_RunFail.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/HiddenVar2_RunFail.in -------------------------------------------------------------------------------- /bin/testdata/HiddenVar3_RunFail.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/HiddenVar3_RunFail.in -------------------------------------------------------------------------------- /bin/testdata/HiddenVar_RunFail.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/HiddenVar_RunFail.in -------------------------------------------------------------------------------- /bin/testdata/IBLambda2_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/IBLambda2_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/IBLambda_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/IBLambda_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/IErr_RunPassPanic.in: -------------------------------------------------------------------------------- 1 | a := 10 + true; -------------------------------------------------------------------------------- /bin/testdata/IOUtil2_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/IOUtil2_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/IOUtil_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/IOUtil_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/If2_ParsePass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/If2_ParsePass.in -------------------------------------------------------------------------------- /bin/testdata/If2_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/If2_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/If3_ParsePass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/If3_ParsePass.in -------------------------------------------------------------------------------- /bin/testdata/If3_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/If3_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/If4_ParsePass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/If4_ParsePass.in -------------------------------------------------------------------------------- /bin/testdata/If5_ParsePass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/If5_ParsePass.in -------------------------------------------------------------------------------- /bin/testdata/If6_ParsePass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/If6_ParsePass.in -------------------------------------------------------------------------------- /bin/testdata/If7_ParsePass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/If7_ParsePass.in -------------------------------------------------------------------------------- /bin/testdata/If_ParsePass.in: -------------------------------------------------------------------------------- 1 | if(cond) 2 | hoge(); -------------------------------------------------------------------------------- /bin/testdata/If_RunPass.in: -------------------------------------------------------------------------------- 1 | if(true) { 2 | println("TRUE"); 3 | } -------------------------------------------------------------------------------- /bin/testdata/Include2_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Include2_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Include3_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Include3_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Include4_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Include4_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Include_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Include_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Injection2_ParsePass.in: -------------------------------------------------------------------------------- 1 | a <- foo(); -------------------------------------------------------------------------------- /bin/testdata/Injection2_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Injection2_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Injection3_ParsePass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Injection3_ParsePass.in -------------------------------------------------------------------------------- /bin/testdata/Injection3_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Injection3_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Injection4_ParsePass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Injection4_ParsePass.in -------------------------------------------------------------------------------- /bin/testdata/Injection4_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Injection4_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Injection5_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Injection5_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Injection6_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Injection6_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Injection7_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Injection7_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Injection_ParsePass.in: -------------------------------------------------------------------------------- 1 | {} <- hoge(); -------------------------------------------------------------------------------- /bin/testdata/Injection_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Injection_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Int2_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Int2_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Int3_ParsePass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Int3_ParsePass.in -------------------------------------------------------------------------------- /bin/testdata/Int3_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Int3_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Int4_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Int4_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Int_RunFail.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Int_RunFail.in -------------------------------------------------------------------------------- /bin/testdata/Int_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Int_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/LP_ParsePass.in: -------------------------------------------------------------------------------- 1 | a := ((5) + (3)); -------------------------------------------------------------------------------- /bin/testdata/Lambda2_ParsePass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Lambda2_ParsePass.in -------------------------------------------------------------------------------- /bin/testdata/Lambda2_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Lambda2_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Lambda3_ParsePass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Lambda3_ParsePass.in -------------------------------------------------------------------------------- /bin/testdata/Lambda4_ParsePass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Lambda4_ParsePass.in -------------------------------------------------------------------------------- /bin/testdata/Lambda_ParsePass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Lambda_ParsePass.in -------------------------------------------------------------------------------- /bin/testdata/Lambda_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Lambda_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/List2_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/List2_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/List3_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/List3_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/List_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/List_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Load_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Load_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Loop_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Loop_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Object2_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Object2_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Object_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Object_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Panic10_RunPassPanic.in: -------------------------------------------------------------------------------- 1 | load("not exists file"); -------------------------------------------------------------------------------- /bin/testdata/Panic11_RunPassPanic.in: -------------------------------------------------------------------------------- 1 | include("not exists file"); -------------------------------------------------------------------------------- /bin/testdata/Panic12_RunPassPanic.in: -------------------------------------------------------------------------------- 1 | include("./testdata/lib/invalid.in"); -------------------------------------------------------------------------------- /bin/testdata/Panic13_RunPassPanic.in: -------------------------------------------------------------------------------- 1 | load("./testdata/lib/invalid.in"); -------------------------------------------------------------------------------- /bin/testdata/Panic14_RunPassPanic.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Panic14_RunPassPanic.in -------------------------------------------------------------------------------- /bin/testdata/Panic15_RunPassPanic.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Panic15_RunPassPanic.in -------------------------------------------------------------------------------- /bin/testdata/Panic2_RunPassPanic.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Panic2_RunPassPanic.in -------------------------------------------------------------------------------- /bin/testdata/Panic3_RunPassPanic.in: -------------------------------------------------------------------------------- 1 | a := 10 + "aaa"; -------------------------------------------------------------------------------- /bin/testdata/Panic4_RunPassPanic.in: -------------------------------------------------------------------------------- 1 | println(value); -------------------------------------------------------------------------------- /bin/testdata/Panic5_RunPassPanic.in: -------------------------------------------------------------------------------- 1 | value := object(); 2 | println(value.name); -------------------------------------------------------------------------------- /bin/testdata/Panic6_RunPassPanic.in: -------------------------------------------------------------------------------- 1 | println(value.name); -------------------------------------------------------------------------------- /bin/testdata/Panic7_RunPassPanic.in: -------------------------------------------------------------------------------- 1 | value.name := "foo"; -------------------------------------------------------------------------------- /bin/testdata/Panic8_RunPassPanic.in: -------------------------------------------------------------------------------- 1 | load(0); -------------------------------------------------------------------------------- /bin/testdata/Panic9_RunPassPanic.in: -------------------------------------------------------------------------------- 1 | include(0); -------------------------------------------------------------------------------- /bin/testdata/Panic_RunFail.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Panic_RunFail.in -------------------------------------------------------------------------------- /bin/testdata/Panic_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Panic_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Panic_RunPassPanic.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Panic_RunPassPanic.in -------------------------------------------------------------------------------- /bin/testdata/Paninc2_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Paninc2_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Path_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Path_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/PluginLoad.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/PluginLoad.inc -------------------------------------------------------------------------------- /bin/testdata/PluginLoad_RunFail.in: -------------------------------------------------------------------------------- 1 | {} <- load("./testdata/vm/err/PluginLoad.inc"); 2 | func(); -------------------------------------------------------------------------------- /bin/testdata/Print_RunPass.in: -------------------------------------------------------------------------------- 1 | print("hello,world"); -------------------------------------------------------------------------------- /bin/testdata/Println_RunPass.in: -------------------------------------------------------------------------------- 1 | println("[hello,world]"); -------------------------------------------------------------------------------- /bin/testdata/Program_ParsePass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Program_ParsePass.in -------------------------------------------------------------------------------- /bin/testdata/Proto_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Proto_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Rec_RunFail.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Rec_RunFail.in -------------------------------------------------------------------------------- /bin/testdata/Regex_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Regex_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Return_ParsePass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Return_ParsePass.in -------------------------------------------------------------------------------- /bin/testdata/Return_VMPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Return_VMPass.in -------------------------------------------------------------------------------- /bin/testdata/ScopeInjection_ParsePass.in: -------------------------------------------------------------------------------- 1 | {} <- foo(); -------------------------------------------------------------------------------- /bin/testdata/ShortC2_RunPass.in: -------------------------------------------------------------------------------- 1 | c := "aaa" && "bbb"; 2 | println(c); -------------------------------------------------------------------------------- /bin/testdata/ShortC3_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/ShortC3_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/ShortC4_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/ShortC4_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/ShortC5_RunPass.in: -------------------------------------------------------------------------------- 1 | c := "aaa" && 0; 2 | println(c.to_string()); -------------------------------------------------------------------------------- /bin/testdata/ShortC_RunPass.in: -------------------------------------------------------------------------------- 1 | c := "aaa" || "bbb"; 2 | println(c); -------------------------------------------------------------------------------- /bin/testdata/StartsWith_RunFail.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/StartsWith_RunFail.in -------------------------------------------------------------------------------- /bin/testdata/StartsWith_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/StartsWith_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/StrEq_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/StrEq_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/String2_RunPass.in: -------------------------------------------------------------------------------- 1 | {} <- load("./testdata/lib/string.in"); 2 | "hello".disp(); -------------------------------------------------------------------------------- /bin/testdata/String3_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/String3_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/StringAdd2_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/StringAdd2_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/StringAdd_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/StringAdd_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/StringBuffer_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/StringBuffer_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/String_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/String_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/String_VMPass.in: -------------------------------------------------------------------------------- 1 | a := "abc" + "def"; 2 | a; -------------------------------------------------------------------------------- /bin/testdata/Syntax2_VMFail.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Syntax2_VMFail.in -------------------------------------------------------------------------------- /bin/testdata/Syntax_VMFail.in: -------------------------------------------------------------------------------- 1 | := aaa; -------------------------------------------------------------------------------- /bin/testdata/This_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/This_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/ToString_RunPass.in: -------------------------------------------------------------------------------- 1 | println(10.to_string()); -------------------------------------------------------------------------------- /bin/testdata/UMV10_RunPassPanic.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/UMV10_RunPassPanic.in -------------------------------------------------------------------------------- /bin/testdata/UMV11_RunPassPanic.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/UMV11_RunPassPanic.in -------------------------------------------------------------------------------- /bin/testdata/UMV12_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/UMV12_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/UMV2_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/UMV2_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/UMV3_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/UMV3_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/UMV4_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/UMV4_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/UMV5_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/UMV5_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/UMV6_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/UMV6_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/UMV7.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/UMV7.inc -------------------------------------------------------------------------------- /bin/testdata/UMV7_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/UMV7_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/UMV8.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/UMV8.inc -------------------------------------------------------------------------------- /bin/testdata/UMV8.inc2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/UMV8.inc2 -------------------------------------------------------------------------------- /bin/testdata/UMV8_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/UMV8_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/UMV9.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/UMV9.inc -------------------------------------------------------------------------------- /bin/testdata/UMV9.libb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/UMV9.libb -------------------------------------------------------------------------------- /bin/testdata/UMV9.libb.info: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/UMV9.libb.info -------------------------------------------------------------------------------- /bin/testdata/UMV9_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/UMV9_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/UMV_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/UMV_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Var2_ParsePass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Var2_ParsePass.in -------------------------------------------------------------------------------- /bin/testdata/VarRet2_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/VarRet2_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/VarRet3_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/VarRet3_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/VarRet_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/VarRet_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/Var_ParsePass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/Var_ParsePass.in -------------------------------------------------------------------------------- /bin/testdata/While2_ParsePass.in: -------------------------------------------------------------------------------- 1 | while(0) 2 | hoge(); -------------------------------------------------------------------------------- /bin/testdata/While_ParsePass.in: -------------------------------------------------------------------------------- 1 | while(0) { 2 | hoge(); 3 | } -------------------------------------------------------------------------------- /bin/testdata/While_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/While_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/With_RunPass.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/With_RunPass.in -------------------------------------------------------------------------------- /bin/testdata/dummy2_ParseFail.in: -------------------------------------------------------------------------------- 1 | *// -------------------------------------------------------------------------------- /bin/testdata/dummy_ParseFail.in: -------------------------------------------------------------------------------- 1 | @*** -------------------------------------------------------------------------------- /bin/testdata/iotest/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/testdata/lib/array.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/lib/array.in -------------------------------------------------------------------------------- /bin/testdata/lib/bool.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/lib/bool.in -------------------------------------------------------------------------------- /bin/testdata/lib/foreach.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/lib/foreach.in -------------------------------------------------------------------------------- /bin/testdata/lib/hidden.in: -------------------------------------------------------------------------------- 1 | _hidden := "test"; -------------------------------------------------------------------------------- /bin/testdata/lib/invalid.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/lib/invalid.in -------------------------------------------------------------------------------- /bin/testdata/lib/lib.in: -------------------------------------------------------------------------------- 1 | P := def()() { 2 | println("HELLO WORLD"); 3 | }; -------------------------------------------------------------------------------- /bin/testdata/lib/overwrite.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/lib/overwrite.in -------------------------------------------------------------------------------- /bin/testdata/lib/string.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/testdata/lib/string.in -------------------------------------------------------------------------------- /bin/testdata/out/.gitignore: -------------------------------------------------------------------------------- 1 | *.out -------------------------------------------------------------------------------- /bin/tree.bn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/tree.bn -------------------------------------------------------------------------------- /bin/with.bn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bin/with.bn -------------------------------------------------------------------------------- /bone.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/bone.rb -------------------------------------------------------------------------------- /doc/blt.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/doc/blt.md -------------------------------------------------------------------------------- /doc/build.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/doc/build.md -------------------------------------------------------------------------------- /doc/doxygen/.gitignore: -------------------------------------------------------------------------------- 1 | html 2 | latex -------------------------------------------------------------------------------- /doc/embed.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/doc/embed.md -------------------------------------------------------------------------------- /doc/interactive.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/doc/interactive.md -------------------------------------------------------------------------------- /doc/mdtest.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/doc/mdtest.sh -------------------------------------------------------------------------------- /doc/path.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/doc/path.md -------------------------------------------------------------------------------- /doc/platform.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/doc/platform.md -------------------------------------------------------------------------------- /doc/plugin.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/doc/plugin.md -------------------------------------------------------------------------------- /doc/spec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/doc/spec.md -------------------------------------------------------------------------------- /doc/style.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/doc/style.md -------------------------------------------------------------------------------- /doc/test.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/doc/test.md -------------------------------------------------------------------------------- /embed.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/embed.rb -------------------------------------------------------------------------------- /ffi.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/ffi.rb -------------------------------------------------------------------------------- /lib/.gitignore: -------------------------------------------------------------------------------- 1 | *.dylib 2 | *.a -------------------------------------------------------------------------------- /mdtest.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/mdtest.sh -------------------------------------------------------------------------------- /plugin.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/plugin.rb -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/readme.md -------------------------------------------------------------------------------- /setup_sln.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/setup_sln.rb -------------------------------------------------------------------------------- /src/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/.gitignore -------------------------------------------------------------------------------- /src/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/CMakeLists.txt -------------------------------------------------------------------------------- /src/Doxyfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/Doxyfile -------------------------------------------------------------------------------- /src/bone/bone.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/bone.h -------------------------------------------------------------------------------- /src/bone/config.c: -------------------------------------------------------------------------------- 1 | #include "config.h" 2 | 3 | const char* bnGetBuildVersion() { return BUILD_VERSION; } -------------------------------------------------------------------------------- /src/bone/config.h.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/config.h.in -------------------------------------------------------------------------------- /src/bone/config.inc: -------------------------------------------------------------------------------- 1 | #include "config.h" -------------------------------------------------------------------------------- /src/bone/glib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/glib.h -------------------------------------------------------------------------------- /src/bone/il/compile_cache.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/compile_cache.c -------------------------------------------------------------------------------- /src/bone/il/compile_cache.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/compile_cache.h -------------------------------------------------------------------------------- /src/bone/il/il_expr_all.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_expr_all.h -------------------------------------------------------------------------------- /src/bone/il/il_expr_array_lit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_expr_array_lit.c -------------------------------------------------------------------------------- /src/bone/il/il_expr_array_lit.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_expr_array_lit.h -------------------------------------------------------------------------------- /src/bone/il/il_expr_array_subscript.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_expr_array_subscript.c -------------------------------------------------------------------------------- /src/bone/il/il_expr_array_subscript.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_expr_array_subscript.h -------------------------------------------------------------------------------- /src/bone/il/il_expr_binop.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_expr_binop.c -------------------------------------------------------------------------------- /src/bone/il/il_expr_binop.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_expr_binop.h -------------------------------------------------------------------------------- /src/bone/il/il_expr_char.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_expr_char.c -------------------------------------------------------------------------------- /src/bone/il/il_expr_char.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_expr_char.h -------------------------------------------------------------------------------- /src/bone/il/il_expr_double.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_expr_double.c -------------------------------------------------------------------------------- /src/bone/il/il_expr_double.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_expr_double.h -------------------------------------------------------------------------------- /src/bone/il/il_expr_funccallop.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_expr_funccallop.c -------------------------------------------------------------------------------- /src/bone/il/il_expr_funccallop.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_expr_funccallop.h -------------------------------------------------------------------------------- /src/bone/il/il_expr_int.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_expr_int.c -------------------------------------------------------------------------------- /src/bone/il/il_expr_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_expr_int.h -------------------------------------------------------------------------------- /src/bone/il/il_expr_lambda.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_expr_lambda.c -------------------------------------------------------------------------------- /src/bone/il/il_expr_lambda.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_expr_lambda.h -------------------------------------------------------------------------------- /src/bone/il/il_expr_memberop.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_expr_memberop.c -------------------------------------------------------------------------------- /src/bone/il/il_expr_memberop.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_expr_memberop.h -------------------------------------------------------------------------------- /src/bone/il/il_expr_object_injection.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_expr_object_injection.c -------------------------------------------------------------------------------- /src/bone/il/il_expr_object_injection.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_expr_object_injection.h -------------------------------------------------------------------------------- /src/bone/il/il_expr_string.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_expr_string.c -------------------------------------------------------------------------------- /src/bone/il/il_expr_string.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_expr_string.h -------------------------------------------------------------------------------- /src/bone/il/il_expr_uop.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_expr_uop.c -------------------------------------------------------------------------------- /src/bone/il/il_expr_uop.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_expr_uop.h -------------------------------------------------------------------------------- /src/bone/il/il_expr_variable.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_expr_variable.c -------------------------------------------------------------------------------- /src/bone/il/il_expr_variable.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_expr_variable.h -------------------------------------------------------------------------------- /src/bone/il/il_expression.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_expression.c -------------------------------------------------------------------------------- /src/bone/il/il_expression.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_expression.h -------------------------------------------------------------------------------- /src/bone/il/il_lineno.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_lineno.c -------------------------------------------------------------------------------- /src/bone/il/il_lineno.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_lineno.h -------------------------------------------------------------------------------- /src/bone/il/il_statement.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_statement.c -------------------------------------------------------------------------------- /src/bone/il/il_statement.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_statement.h -------------------------------------------------------------------------------- /src/bone/il/il_stmt_all.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_stmt_all.h -------------------------------------------------------------------------------- /src/bone/il/il_stmt_defer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_stmt_defer.c -------------------------------------------------------------------------------- /src/bone/il/il_stmt_defer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_stmt_defer.h -------------------------------------------------------------------------------- /src/bone/il/il_stmt_expr_stmt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_stmt_expr_stmt.c -------------------------------------------------------------------------------- /src/bone/il/il_stmt_expr_stmt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_stmt_expr_stmt.h -------------------------------------------------------------------------------- /src/bone/il/il_stmt_if.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_stmt_if.c -------------------------------------------------------------------------------- /src/bone/il/il_stmt_if.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_stmt_if.h -------------------------------------------------------------------------------- /src/bone/il/il_stmt_return.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_stmt_return.c -------------------------------------------------------------------------------- /src/bone/il/il_stmt_return.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_stmt_return.h -------------------------------------------------------------------------------- /src/bone/il/il_stmt_scope_injection.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_stmt_scope_injection.c -------------------------------------------------------------------------------- /src/bone/il/il_stmt_scope_injection.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_stmt_scope_injection.h -------------------------------------------------------------------------------- /src/bone/il/il_stmt_while.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_stmt_while.c -------------------------------------------------------------------------------- /src/bone/il/il_stmt_while.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_stmt_while.h -------------------------------------------------------------------------------- /src/bone/il/il_toplevel.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_toplevel.c -------------------------------------------------------------------------------- /src/bone/il/il_toplevel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/il/il_toplevel.h -------------------------------------------------------------------------------- /src/bone/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/main.c -------------------------------------------------------------------------------- /src/bone/parse/.gitignore: -------------------------------------------------------------------------------- 1 | bone.output -------------------------------------------------------------------------------- /src/bone/parse/ast.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/parse/ast.c -------------------------------------------------------------------------------- /src/bone/parse/ast.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/parse/ast.h -------------------------------------------------------------------------------- /src/bone/parse/ast2il.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/parse/ast2il.c -------------------------------------------------------------------------------- /src/bone/parse/ast2il.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/parse/ast2il.h -------------------------------------------------------------------------------- /src/bone/parse/bone.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/parse/bone.l -------------------------------------------------------------------------------- /src/bone/parse/bone.tab.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/parse/bone.tab.c -------------------------------------------------------------------------------- /src/bone/parse/bone.tab.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/parse/bone.tab.h -------------------------------------------------------------------------------- /src/bone/parse/bone.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/parse/bone.y -------------------------------------------------------------------------------- /src/bone/parse/gen.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/parse/gen.sh -------------------------------------------------------------------------------- /src/bone/parse/lex.yy.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/parse/lex.yy.c -------------------------------------------------------------------------------- /src/bone/parse/parser.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/parse/parser.c -------------------------------------------------------------------------------- /src/bone/parse/parser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/parse/parser.h -------------------------------------------------------------------------------- /src/bone/runtime/any.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/any.c -------------------------------------------------------------------------------- /src/bone/runtime/any.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/any.h -------------------------------------------------------------------------------- /src/bone/runtime/array.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/array.c -------------------------------------------------------------------------------- /src/bone/runtime/array.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/array.h -------------------------------------------------------------------------------- /src/bone/runtime/bool.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/bool.c -------------------------------------------------------------------------------- /src/bone/runtime/bool.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/bool.h -------------------------------------------------------------------------------- /src/bone/runtime/char.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/char.c -------------------------------------------------------------------------------- /src/bone/runtime/char.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/char.h -------------------------------------------------------------------------------- /src/bone/runtime/double.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/double.c -------------------------------------------------------------------------------- /src/bone/runtime/double.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/double.h -------------------------------------------------------------------------------- /src/bone/runtime/enviroment.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/enviroment.c -------------------------------------------------------------------------------- /src/bone/runtime/enviroment.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/enviroment.h -------------------------------------------------------------------------------- /src/bone/runtime/extern/dir.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/extern/dir.c -------------------------------------------------------------------------------- /src/bone/runtime/extern/dir.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/extern/dir.h -------------------------------------------------------------------------------- /src/bone/runtime/extern/file.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/extern/file.c -------------------------------------------------------------------------------- /src/bone/runtime/extern/file.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/extern/file.h -------------------------------------------------------------------------------- /src/bone/runtime/extern/reflection.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/extern/reflection.c -------------------------------------------------------------------------------- /src/bone/runtime/extern/reflection.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/extern/reflection.h -------------------------------------------------------------------------------- /src/bone/runtime/extern/regex.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/extern/regex.c -------------------------------------------------------------------------------- /src/bone/runtime/extern/regex.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/extern/regex.h -------------------------------------------------------------------------------- /src/bone/runtime/extern/string_buffer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/extern/string_buffer.c -------------------------------------------------------------------------------- /src/bone/runtime/extern/string_buffer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/extern/string_buffer.h -------------------------------------------------------------------------------- /src/bone/runtime/extern/system.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/extern/system.c -------------------------------------------------------------------------------- /src/bone/runtime/extern/system.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/extern/system.h -------------------------------------------------------------------------------- /src/bone/runtime/frame.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/frame.c -------------------------------------------------------------------------------- /src/bone/runtime/frame.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/frame.h -------------------------------------------------------------------------------- /src/bone/runtime/heap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/heap.c -------------------------------------------------------------------------------- /src/bone/runtime/heap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/heap.h -------------------------------------------------------------------------------- /src/bone/runtime/integer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/integer.c -------------------------------------------------------------------------------- /src/bone/runtime/integer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/integer.h -------------------------------------------------------------------------------- /src/bone/runtime/interactive.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/interactive.c -------------------------------------------------------------------------------- /src/bone/runtime/interactive.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/interactive.h -------------------------------------------------------------------------------- /src/bone/runtime/interpreter.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/interpreter.c -------------------------------------------------------------------------------- /src/bone/runtime/interpreter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/interpreter.h -------------------------------------------------------------------------------- /src/bone/runtime/keyword.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/keyword.h -------------------------------------------------------------------------------- /src/bone/runtime/label.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/label.c -------------------------------------------------------------------------------- /src/bone/runtime/label.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/label.h -------------------------------------------------------------------------------- /src/bone/runtime/lambda.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/lambda.c -------------------------------------------------------------------------------- /src/bone/runtime/lambda.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/lambda.h -------------------------------------------------------------------------------- /src/bone/runtime/line_range.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/line_range.c -------------------------------------------------------------------------------- /src/bone/runtime/line_range.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/line_range.h -------------------------------------------------------------------------------- /src/bone/runtime/module.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/module.c -------------------------------------------------------------------------------- /src/bone/runtime/module.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/module.h -------------------------------------------------------------------------------- /src/bone/runtime/object.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/object.c -------------------------------------------------------------------------------- /src/bone/runtime/object.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/object.h -------------------------------------------------------------------------------- /src/bone/runtime/opcode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/opcode.c -------------------------------------------------------------------------------- /src/bone/runtime/opcode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/opcode.h -------------------------------------------------------------------------------- /src/bone/runtime/snapshot.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/snapshot.c -------------------------------------------------------------------------------- /src/bone/runtime/snapshot.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/snapshot.h -------------------------------------------------------------------------------- /src/bone/runtime/std.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/std.c -------------------------------------------------------------------------------- /src/bone/runtime/std.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/std.h -------------------------------------------------------------------------------- /src/bone/runtime/storage.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/storage.c -------------------------------------------------------------------------------- /src/bone/runtime/storage.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/storage.h -------------------------------------------------------------------------------- /src/bone/runtime/string.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/string.c -------------------------------------------------------------------------------- /src/bone/runtime/string.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/string.h -------------------------------------------------------------------------------- /src/bone/runtime/vm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/vm.c -------------------------------------------------------------------------------- /src/bone/runtime/vm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/runtime/vm.h -------------------------------------------------------------------------------- /src/bone/test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/test.c -------------------------------------------------------------------------------- /src/bone/test.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/test.h -------------------------------------------------------------------------------- /src/bone/util/args.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/util/args.c -------------------------------------------------------------------------------- /src/bone/util/args.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/util/args.h -------------------------------------------------------------------------------- /src/bone/util/fmt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/util/fmt.c -------------------------------------------------------------------------------- /src/bone/util/fmt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/util/fmt.h -------------------------------------------------------------------------------- /src/bone/util/getline.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/util/getline.c -------------------------------------------------------------------------------- /src/bone/util/getline.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/util/getline.h -------------------------------------------------------------------------------- /src/bone/util/io.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/util/io.c -------------------------------------------------------------------------------- /src/bone/util/io.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/util/io.h -------------------------------------------------------------------------------- /src/bone/util/jump_stack.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/util/jump_stack.c -------------------------------------------------------------------------------- /src/bone/util/jump_stack.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/util/jump_stack.h -------------------------------------------------------------------------------- /src/bone/util/memory.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/util/memory.c -------------------------------------------------------------------------------- /src/bone/util/memory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/util/memory.h -------------------------------------------------------------------------------- /src/bone/util/stack.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/util/stack.c -------------------------------------------------------------------------------- /src/bone/util/stack.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/util/stack.h -------------------------------------------------------------------------------- /src/bone/util/string_pool.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/util/string_pool.c -------------------------------------------------------------------------------- /src/bone/util/string_pool.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/util/string_pool.h -------------------------------------------------------------------------------- /src/bone/util/string_util.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/util/string_util.c -------------------------------------------------------------------------------- /src/bone/util/string_util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/util/string_util.h -------------------------------------------------------------------------------- /src/bone/util/winglib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/util/winglib.c -------------------------------------------------------------------------------- /src/bone/util/winglib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/bone/util/winglib.h -------------------------------------------------------------------------------- /src/buildall.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/buildall.rb -------------------------------------------------------------------------------- /src/enc.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/enc.sh -------------------------------------------------------------------------------- /src/utest.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/src/utest.sh -------------------------------------------------------------------------------- /template/funcc.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/template/funcc.txt -------------------------------------------------------------------------------- /template/funch.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/template/funch.txt -------------------------------------------------------------------------------- /template/il.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desktopgame/bone/HEAD/template/il.txt --------------------------------------------------------------------------------