├── .gitattributes ├── .github ├── pull_request_template.md └── workflows │ └── build.yml ├── .gitignore ├── .gitmodules ├── .npmignore ├── LICENSE ├── README.md ├── cpp ├── .gn ├── BUILD.gn └── runtime │ ├── LICENSE │ ├── array.h │ ├── console.cc │ ├── console.h │ ├── delay_load_hook_win.cc │ ├── exe │ ├── state_exe.cc │ └── state_exe.h │ ├── function.h │ ├── math.h │ ├── node │ ├── converters.h │ ├── state_node.cc │ └── state_node.h │ ├── number.cc │ ├── number.h │ ├── object.h │ ├── process.cc │ ├── process.h │ ├── runtime.cc │ ├── runtime.h │ ├── state.cc │ ├── state.h │ ├── string.cc │ ├── string.h │ ├── tests │ ├── array_unittest.cc │ ├── number_unittest.cc │ ├── run_all.cc │ ├── stack_unittest.cc │ ├── string_unittest.cc │ └── union_unittest.cc │ ├── type_traits.cc │ ├── type_traits.h │ └── union.h ├── docs ├── design.md ├── node-module.md └── roadmap.md ├── package.json ├── src ├── cli.ts ├── cpp-file.ts ├── cpp-project.ts ├── cpp-syntax-type.ts ├── cpp-syntax-utils.ts ├── cpp-syntax.ts ├── gn-utils.ts ├── index.ts ├── js-utils.ts ├── parser-typer.ts ├── parser-utils.ts ├── parser.ts └── print-utils.ts ├── tests ├── conversion.spec.ts ├── cpp-project.spec.ts ├── data-conversion │ ├── array-literal │ │ ├── array.cpp │ │ └── array.ts │ ├── array-object │ │ ├── newarr.cpp │ │ └── newarr.ts │ ├── class-generic │ │ ├── genericla.cpp │ │ └── genericla.ts │ ├── class-inherit │ │ ├── inherit.cpp │ │ └── inherit.ts │ ├── class-nested │ │ ├── nested.cpp │ │ └── nested.ts │ ├── class-union │ │ ├── classunion.cpp │ │ └── classunion.ts │ ├── class │ │ ├── class.cpp │ │ └── class.ts │ ├── destructor │ │ ├── destruct.cpp │ │ └── destruct.ts │ ├── export │ │ ├── base.cpp │ │ ├── base.h │ │ ├── base.ts │ │ ├── cli.cpp │ │ ├── cli.ts │ │ ├── lib.cpp │ │ ├── lib.h │ │ ├── lib.ts │ │ └── package.json │ ├── expression │ │ ├── express.cpp │ │ └── express.ts │ ├── forward │ │ ├── forward.cpp │ │ └── forward.ts │ ├── function-closure │ │ ├── closure.cpp │ │ └── closure.ts │ ├── function-generic │ │ ├── genericfunc.cpp │ │ └── genericfunc.ts │ ├── function-variadic │ │ ├── variadic.cpp │ │ └── variadic.ts │ ├── function │ │ ├── func.cpp │ │ └── func.ts │ ├── global │ │ ├── global.cpp │ │ └── global.ts │ ├── interface │ │ ├── interface.cpp │ │ └── interface.ts │ ├── loop │ │ ├── loop.cpp │ │ └── loop.ts │ ├── number │ │ ├── number.cpp │ │ └── number.ts │ ├── persistent │ │ ├── persistent.cpp │ │ └── persistent.ts │ ├── question │ │ ├── question.cpp │ │ └── question.ts │ ├── string │ │ ├── string.cpp │ │ └── string.ts │ ├── undefined │ │ ├── undefined.cpp │ │ └── undefined.ts │ ├── union │ │ ├── union.cpp │ │ └── union.ts │ └── variable │ │ ├── var.cpp │ │ └── var.ts ├── data-cpp-project │ ├── noop │ │ └── noop.ts │ ├── run-array │ │ └── main.ts │ ├── run-class-generic │ │ └── main.ts │ ├── run-class-inherit │ │ └── main.ts │ ├── run-class-union │ │ └── main.ts │ ├── run-class │ │ └── main.ts │ ├── run-closure │ │ └── main.ts │ ├── run-comparisons │ │ ├── main.ts │ │ └── package.json │ ├── run-cyclic-ref │ │ └── main.ts │ └── run-string │ │ ├── main.ts │ │ └── package.json ├── data-node-module │ ├── deep │ │ ├── package.json │ │ ├── src │ │ │ ├── lib.ts │ │ │ └── main.ts │ │ ├── test.js │ │ └── tsconfig.json │ └── pi │ │ ├── index.js │ │ ├── package.json │ │ └── pi.ts ├── run.ts └── tsconfig.json └── tsconfig.json /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/.gitmodules -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/.npmignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/README.md -------------------------------------------------------------------------------- /cpp/.gn: -------------------------------------------------------------------------------- 1 | use_chromium_config = true 2 | -------------------------------------------------------------------------------- /cpp/BUILD.gn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/BUILD.gn -------------------------------------------------------------------------------- /cpp/runtime/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/LICENSE -------------------------------------------------------------------------------- /cpp/runtime/array.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/array.h -------------------------------------------------------------------------------- /cpp/runtime/console.cc: -------------------------------------------------------------------------------- 1 | #include "runtime/console.h" 2 | -------------------------------------------------------------------------------- /cpp/runtime/console.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/console.h -------------------------------------------------------------------------------- /cpp/runtime/delay_load_hook_win.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/delay_load_hook_win.cc -------------------------------------------------------------------------------- /cpp/runtime/exe/state_exe.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/exe/state_exe.cc -------------------------------------------------------------------------------- /cpp/runtime/exe/state_exe.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/exe/state_exe.h -------------------------------------------------------------------------------- /cpp/runtime/function.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/function.h -------------------------------------------------------------------------------- /cpp/runtime/math.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/math.h -------------------------------------------------------------------------------- /cpp/runtime/node/converters.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/node/converters.h -------------------------------------------------------------------------------- /cpp/runtime/node/state_node.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/node/state_node.cc -------------------------------------------------------------------------------- /cpp/runtime/node/state_node.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/node/state_node.h -------------------------------------------------------------------------------- /cpp/runtime/number.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/number.cc -------------------------------------------------------------------------------- /cpp/runtime/number.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/number.h -------------------------------------------------------------------------------- /cpp/runtime/object.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/object.h -------------------------------------------------------------------------------- /cpp/runtime/process.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/process.cc -------------------------------------------------------------------------------- /cpp/runtime/process.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/process.h -------------------------------------------------------------------------------- /cpp/runtime/runtime.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/runtime.cc -------------------------------------------------------------------------------- /cpp/runtime/runtime.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/runtime.h -------------------------------------------------------------------------------- /cpp/runtime/state.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/state.cc -------------------------------------------------------------------------------- /cpp/runtime/state.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/state.h -------------------------------------------------------------------------------- /cpp/runtime/string.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/string.cc -------------------------------------------------------------------------------- /cpp/runtime/string.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/string.h -------------------------------------------------------------------------------- /cpp/runtime/tests/array_unittest.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/tests/array_unittest.cc -------------------------------------------------------------------------------- /cpp/runtime/tests/number_unittest.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/tests/number_unittest.cc -------------------------------------------------------------------------------- /cpp/runtime/tests/run_all.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/tests/run_all.cc -------------------------------------------------------------------------------- /cpp/runtime/tests/stack_unittest.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/tests/stack_unittest.cc -------------------------------------------------------------------------------- /cpp/runtime/tests/string_unittest.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/tests/string_unittest.cc -------------------------------------------------------------------------------- /cpp/runtime/tests/union_unittest.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/tests/union_unittest.cc -------------------------------------------------------------------------------- /cpp/runtime/type_traits.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/type_traits.cc -------------------------------------------------------------------------------- /cpp/runtime/type_traits.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/type_traits.h -------------------------------------------------------------------------------- /cpp/runtime/union.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/cpp/runtime/union.h -------------------------------------------------------------------------------- /docs/design.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/docs/design.md -------------------------------------------------------------------------------- /docs/node-module.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/docs/node-module.md -------------------------------------------------------------------------------- /docs/roadmap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/docs/roadmap.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/package.json -------------------------------------------------------------------------------- /src/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/src/cli.ts -------------------------------------------------------------------------------- /src/cpp-file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/src/cpp-file.ts -------------------------------------------------------------------------------- /src/cpp-project.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/src/cpp-project.ts -------------------------------------------------------------------------------- /src/cpp-syntax-type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/src/cpp-syntax-type.ts -------------------------------------------------------------------------------- /src/cpp-syntax-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/src/cpp-syntax-utils.ts -------------------------------------------------------------------------------- /src/cpp-syntax.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/src/cpp-syntax.ts -------------------------------------------------------------------------------- /src/gn-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/src/gn-utils.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/js-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/src/js-utils.ts -------------------------------------------------------------------------------- /src/parser-typer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/src/parser-typer.ts -------------------------------------------------------------------------------- /src/parser-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/src/parser-utils.ts -------------------------------------------------------------------------------- /src/parser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/src/parser.ts -------------------------------------------------------------------------------- /src/print-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/src/print-utils.ts -------------------------------------------------------------------------------- /tests/conversion.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/conversion.spec.ts -------------------------------------------------------------------------------- /tests/cpp-project.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/cpp-project.spec.ts -------------------------------------------------------------------------------- /tests/data-conversion/array-literal/array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/array-literal/array.cpp -------------------------------------------------------------------------------- /tests/data-conversion/array-literal/array.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/array-literal/array.ts -------------------------------------------------------------------------------- /tests/data-conversion/array-object/newarr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/array-object/newarr.cpp -------------------------------------------------------------------------------- /tests/data-conversion/array-object/newarr.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/array-object/newarr.ts -------------------------------------------------------------------------------- /tests/data-conversion/class-generic/genericla.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/class-generic/genericla.cpp -------------------------------------------------------------------------------- /tests/data-conversion/class-generic/genericla.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/class-generic/genericla.ts -------------------------------------------------------------------------------- /tests/data-conversion/class-inherit/inherit.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/class-inherit/inherit.cpp -------------------------------------------------------------------------------- /tests/data-conversion/class-inherit/inherit.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/class-inherit/inherit.ts -------------------------------------------------------------------------------- /tests/data-conversion/class-nested/nested.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/class-nested/nested.cpp -------------------------------------------------------------------------------- /tests/data-conversion/class-nested/nested.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/class-nested/nested.ts -------------------------------------------------------------------------------- /tests/data-conversion/class-union/classunion.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/class-union/classunion.cpp -------------------------------------------------------------------------------- /tests/data-conversion/class-union/classunion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/class-union/classunion.ts -------------------------------------------------------------------------------- /tests/data-conversion/class/class.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/class/class.cpp -------------------------------------------------------------------------------- /tests/data-conversion/class/class.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/class/class.ts -------------------------------------------------------------------------------- /tests/data-conversion/destructor/destruct.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/destructor/destruct.cpp -------------------------------------------------------------------------------- /tests/data-conversion/destructor/destruct.ts: -------------------------------------------------------------------------------- 1 | class Finalizer { 2 | // compilets: destructor 3 | Dispose() {} 4 | } 5 | -------------------------------------------------------------------------------- /tests/data-conversion/export/base.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/export/base.cpp -------------------------------------------------------------------------------- /tests/data-conversion/export/base.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/export/base.h -------------------------------------------------------------------------------- /tests/data-conversion/export/base.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/export/base.ts -------------------------------------------------------------------------------- /tests/data-conversion/export/cli.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/export/cli.cpp -------------------------------------------------------------------------------- /tests/data-conversion/export/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/export/cli.ts -------------------------------------------------------------------------------- /tests/data-conversion/export/lib.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/export/lib.cpp -------------------------------------------------------------------------------- /tests/data-conversion/export/lib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/export/lib.h -------------------------------------------------------------------------------- /tests/data-conversion/export/lib.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/export/lib.ts -------------------------------------------------------------------------------- /tests/data-conversion/export/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/export/package.json -------------------------------------------------------------------------------- /tests/data-conversion/expression/express.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/expression/express.cpp -------------------------------------------------------------------------------- /tests/data-conversion/expression/express.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/expression/express.ts -------------------------------------------------------------------------------- /tests/data-conversion/forward/forward.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/forward/forward.cpp -------------------------------------------------------------------------------- /tests/data-conversion/forward/forward.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/forward/forward.ts -------------------------------------------------------------------------------- /tests/data-conversion/function-closure/closure.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/function-closure/closure.cpp -------------------------------------------------------------------------------- /tests/data-conversion/function-closure/closure.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/function-closure/closure.ts -------------------------------------------------------------------------------- /tests/data-conversion/function-generic/genericfunc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/function-generic/genericfunc.cpp -------------------------------------------------------------------------------- /tests/data-conversion/function-generic/genericfunc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/function-generic/genericfunc.ts -------------------------------------------------------------------------------- /tests/data-conversion/function-variadic/variadic.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/function-variadic/variadic.cpp -------------------------------------------------------------------------------- /tests/data-conversion/function-variadic/variadic.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/function-variadic/variadic.ts -------------------------------------------------------------------------------- /tests/data-conversion/function/func.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/function/func.cpp -------------------------------------------------------------------------------- /tests/data-conversion/function/func.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/function/func.ts -------------------------------------------------------------------------------- /tests/data-conversion/global/global.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/global/global.cpp -------------------------------------------------------------------------------- /tests/data-conversion/global/global.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/global/global.ts -------------------------------------------------------------------------------- /tests/data-conversion/interface/interface.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/interface/interface.cpp -------------------------------------------------------------------------------- /tests/data-conversion/interface/interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/interface/interface.ts -------------------------------------------------------------------------------- /tests/data-conversion/loop/loop.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/loop/loop.cpp -------------------------------------------------------------------------------- /tests/data-conversion/loop/loop.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/loop/loop.ts -------------------------------------------------------------------------------- /tests/data-conversion/number/number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/number/number.cpp -------------------------------------------------------------------------------- /tests/data-conversion/number/number.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/number/number.ts -------------------------------------------------------------------------------- /tests/data-conversion/persistent/persistent.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/persistent/persistent.cpp -------------------------------------------------------------------------------- /tests/data-conversion/persistent/persistent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/persistent/persistent.ts -------------------------------------------------------------------------------- /tests/data-conversion/question/question.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/question/question.cpp -------------------------------------------------------------------------------- /tests/data-conversion/question/question.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/question/question.ts -------------------------------------------------------------------------------- /tests/data-conversion/string/string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/string/string.cpp -------------------------------------------------------------------------------- /tests/data-conversion/string/string.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/string/string.ts -------------------------------------------------------------------------------- /tests/data-conversion/undefined/undefined.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/undefined/undefined.cpp -------------------------------------------------------------------------------- /tests/data-conversion/undefined/undefined.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/undefined/undefined.ts -------------------------------------------------------------------------------- /tests/data-conversion/union/union.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/union/union.cpp -------------------------------------------------------------------------------- /tests/data-conversion/union/union.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/union/union.ts -------------------------------------------------------------------------------- /tests/data-conversion/variable/var.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/variable/var.cpp -------------------------------------------------------------------------------- /tests/data-conversion/variable/var.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-conversion/variable/var.ts -------------------------------------------------------------------------------- /tests/data-cpp-project/noop/noop.ts: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/data-cpp-project/run-array/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-cpp-project/run-array/main.ts -------------------------------------------------------------------------------- /tests/data-cpp-project/run-class-generic/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-cpp-project/run-class-generic/main.ts -------------------------------------------------------------------------------- /tests/data-cpp-project/run-class-inherit/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-cpp-project/run-class-inherit/main.ts -------------------------------------------------------------------------------- /tests/data-cpp-project/run-class-union/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-cpp-project/run-class-union/main.ts -------------------------------------------------------------------------------- /tests/data-cpp-project/run-class/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-cpp-project/run-class/main.ts -------------------------------------------------------------------------------- /tests/data-cpp-project/run-closure/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-cpp-project/run-closure/main.ts -------------------------------------------------------------------------------- /tests/data-cpp-project/run-comparisons/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-cpp-project/run-comparisons/main.ts -------------------------------------------------------------------------------- /tests/data-cpp-project/run-comparisons/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-cpp-project/run-comparisons/package.json -------------------------------------------------------------------------------- /tests/data-cpp-project/run-cyclic-ref/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-cpp-project/run-cyclic-ref/main.ts -------------------------------------------------------------------------------- /tests/data-cpp-project/run-string/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-cpp-project/run-string/main.ts -------------------------------------------------------------------------------- /tests/data-cpp-project/run-string/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-cpp-project/run-string/package.json -------------------------------------------------------------------------------- /tests/data-node-module/deep/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-node-module/deep/package.json -------------------------------------------------------------------------------- /tests/data-node-module/deep/src/lib.ts: -------------------------------------------------------------------------------- 1 | export function api() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/data-node-module/deep/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-node-module/deep/src/main.ts -------------------------------------------------------------------------------- /tests/data-node-module/deep/test.js: -------------------------------------------------------------------------------- 1 | require(process.argv[2]); 2 | -------------------------------------------------------------------------------- /tests/data-node-module/deep/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-node-module/deep/tsconfig.json -------------------------------------------------------------------------------- /tests/data-node-module/pi/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-node-module/pi/index.js -------------------------------------------------------------------------------- /tests/data-node-module/pi/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-node-module/pi/package.json -------------------------------------------------------------------------------- /tests/data-node-module/pi/pi.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/data-node-module/pi/pi.ts -------------------------------------------------------------------------------- /tests/run.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/run.ts -------------------------------------------------------------------------------- /tests/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tests/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compilets/compilets/HEAD/tsconfig.json --------------------------------------------------------------------------------