├── .envrc ├── .github └── workflows │ ├── ci.yml │ └── release.yml ├── .gitignore ├── CONTRIBUTING.md ├── Cargo.lock ├── Cargo.toml ├── INSTALL.md ├── LICENSE ├── README.md ├── SECURITY.md ├── crates ├── ast │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ └── nodes.rs ├── cache │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── manager.rs │ │ ├── metadata.rs │ │ └── path.rs ├── common │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ └── span.rs ├── ffi │ ├── Cargo.toml │ ├── examples │ │ ├── coverage_analysis.rs │ │ └── debug_rustdoc.rs │ ├── src │ │ ├── cargo_bridge.rs │ │ ├── dynamic_loader.rs │ │ ├── lib.rs │ │ ├── metadata.rs │ │ ├── rust_stubgen.rs │ │ ├── rustdoc_extractor.rs │ │ ├── symbol_registry.rs │ │ └── types.rs │ └── tests │ │ ├── deep_extraction_tests.rs │ │ └── extraction_tests.rs ├── fmt │ ├── Cargo.toml │ └── src │ │ ├── formatter.rs │ │ └── lib.rs ├── language │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── lexer │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── token.rs │ │ └── tokenizer.rs ├── module │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── loader.rs │ │ ├── processor.rs │ │ └── resolver.rs ├── parser │ ├── Cargo.toml │ └── src │ │ ├── grammar.rs │ │ └── lib.rs └── utils │ ├── Cargo.toml │ └── src │ ├── bench.rs │ ├── errors.rs │ ├── lib.rs │ ├── logger.rs │ ├── profiler.rs │ └── timer.rs ├── docs ├── API_REFERENCE.md ├── EXAMPLES.md ├── FFI_GUIDE.md ├── GETTING_STARTED.md ├── LANGUAGE_SPEC.md ├── TUTORIALS.md └── WEBASSEMBLY.md ├── examples ├── basic │ ├── advanced_pipeline.ot │ ├── enum_demo.ot │ ├── error_handling_advanced.ot │ ├── error_handling_basics.ot │ ├── error_handling_resource.ot │ ├── error_handling_validation.ot │ ├── fibonacci.ot │ ├── hello.ot │ ├── multiline_test.ot │ ├── string_concat.ot │ ├── struct_demo.ot │ ├── struct_methods_demo.ot │ ├── target │ │ └── tmp_binary │ └── task_benchmark.ot └── ffi │ └── test_ffi_struct.otter ├── flake.lock ├── flake.nix ├── image.png ├── output.ll ├── src ├── bin │ ├── lsp.rs │ └── otter.rs ├── cli.rs ├── codegen │ ├── llvm │ │ ├── bridges.rs │ │ ├── build.rs │ │ ├── compiler │ │ │ ├── expr.rs │ │ │ ├── mod.rs │ │ │ ├── stmt.rs │ │ │ └── types.rs │ │ ├── config.rs │ │ └── mod.rs │ ├── mod.rs │ ├── symbols.rs │ └── target.rs ├── lib.rs ├── lsp │ └── mod.rs ├── main.rs ├── repl │ ├── engine.rs │ ├── events.rs │ ├── mod.rs │ ├── state.rs │ ├── tui.rs │ └── ui.rs ├── runtime │ ├── benchmark.rs │ ├── config.rs │ ├── error.rs │ ├── ffi │ │ ├── dynamic.rs │ │ ├── exports.rs │ │ ├── mod.rs │ │ └── providers.rs │ ├── ffi_api.rs │ ├── introspection.rs │ ├── jit │ │ ├── adaptive │ │ │ ├── concurrency.rs │ │ │ ├── memory.rs │ │ │ └── mod.rs │ │ ├── cache │ │ │ ├── eviction.rs │ │ │ ├── function_cache.rs │ │ │ ├── metadata.rs │ │ │ └── mod.rs │ │ ├── concurrency │ │ │ ├── extensions.rs │ │ │ ├── mod.rs │ │ │ ├── monitoring.rs │ │ │ ├── rebalancer.rs │ │ │ ├── scheduler.rs │ │ │ ├── task.rs │ │ │ ├── thread_pool.rs │ │ │ └── workload_analyzer.rs │ │ ├── engine.rs │ │ ├── executor.rs │ │ ├── layout │ │ │ ├── analyzer.rs │ │ │ ├── mod.rs │ │ │ ├── optimizer.rs │ │ │ ├── profiler.rs │ │ │ ├── simd.rs │ │ │ ├── transformer.rs │ │ │ └── validator.rs │ │ ├── mod.rs │ │ ├── optimization │ │ │ ├── call_graph.rs │ │ │ ├── inliner.rs │ │ │ ├── mod.rs │ │ │ └── reoptimizer.rs │ │ ├── profiler │ │ │ ├── call_profiler.rs │ │ │ ├── compilation_profiler.rs │ │ │ ├── hot_detector.rs │ │ │ ├── memory_profiler.rs │ │ │ ├── mod.rs │ │ │ └── sampler.rs │ │ ├── specialization │ │ │ ├── constant_prop.rs │ │ │ ├── key.rs │ │ │ ├── mod.rs │ │ │ ├── specializer.rs │ │ │ └── type_tracker.rs │ │ └── tiered_compiler.rs │ ├── memory │ │ ├── allocator.rs │ │ ├── arena.rs │ │ ├── config.rs │ │ ├── gc.rs │ │ ├── mod.rs │ │ ├── object.rs │ │ ├── profiler.rs │ │ └── rc.rs │ ├── mod.rs │ ├── stdlib │ │ ├── builtins.rs │ │ ├── enums.rs │ │ ├── exceptions.rs │ │ ├── fmt.rs │ │ ├── gc.rs │ │ ├── io.rs │ │ ├── json.rs │ │ ├── math.rs │ │ ├── mod.rs │ │ ├── net.rs │ │ ├── rand.rs │ │ ├── runtime.rs │ │ ├── sync.rs │ │ ├── sys.rs │ │ ├── task.rs │ │ ├── test.rs │ │ └── time.rs │ ├── strings.rs │ ├── symbol_registry.rs │ └── task │ │ ├── channel.rs │ │ ├── metrics.rs │ │ ├── mod.rs │ │ ├── scheduler.rs │ │ ├── task_impl.rs │ │ ├── timer.rs │ │ └── tls.rs ├── test │ ├── discovery.rs │ ├── mod.rs │ ├── reporter.rs │ ├── runner.rs │ └── snapshot.rs ├── tools │ ├── mod.rs │ └── profiler.rs ├── typecheck │ ├── checker.rs │ ├── diagnostics.rs │ ├── mod.rs │ └── types.rs └── version.rs ├── stdlib └── otter │ ├── builtins.ot │ ├── core.ot │ ├── fmt.ot │ ├── fs.ot │ ├── http.ot │ ├── io.ot │ ├── json.ot │ ├── math.ot │ ├── net.ot │ ├── rand.ot │ ├── runtime.ot │ ├── task.ot │ └── time.ot ├── syntaxes ├── README.md └── otterlang.tmLanguage.json ├── tests ├── codegen_debug.ot ├── codegen_tests.ot ├── for_loop_test.ot └── string_concat.ot ├── vendor └── llvm-sys │ ├── .cargo-ok │ ├── .cargo_vcs_info.json │ ├── .gitignore │ ├── .gitlab-ci.yml │ ├── .gitlab │ └── issue_templates │ │ └── default.md │ ├── Cargo.toml │ ├── LICENSE │ ├── README.md │ ├── appveyor.yml │ ├── build.rs │ ├── examples │ ├── disassembler.rs │ ├── jit-function.rs │ └── nop-function.rs │ ├── scripts │ ├── RELEASE_CHECKLIST.md │ ├── backport-commits.sh │ ├── build-binaries.sh │ ├── release-branches.sh │ └── rustc-commit.sh │ ├── src │ ├── analysis.rs │ ├── bit_reader.rs │ ├── bit_writer.rs │ ├── blake3.rs │ ├── comdat.rs │ ├── core.rs │ ├── debuginfo.rs │ ├── disassembler.rs │ ├── error.rs │ ├── error_handling.rs │ ├── execution_engine.rs │ ├── ir_reader.rs │ ├── lib.rs │ ├── linker.rs │ ├── lto.rs │ ├── object.rs │ ├── orc2 │ │ ├── ee.rs │ │ ├── lljit.rs │ │ └── mod.rs │ ├── remarks.rs │ ├── support.rs │ ├── target.rs │ ├── target_machine.rs │ ├── transforms.rs │ └── transforms │ │ └── pass_builder.rs │ └── wrappers │ └── target.c └── vscode-extension ├── .gitignore ├── .vscodeignore ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── icons ├── otter-icon.svg └── otterlang-icon-theme.json ├── language-configuration.json ├── package-lock.json ├── package.json ├── snippets └── otterlang.json ├── src └── extension.ts ├── syntaxes └── otterlang.tmLanguage.json └── tsconfig.json /.envrc: -------------------------------------------------------------------------------- 1 | use flake 2 | 3 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/.gitignore -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/Cargo.toml -------------------------------------------------------------------------------- /INSTALL.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/INSTALL.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/SECURITY.md -------------------------------------------------------------------------------- /crates/ast/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/ast/Cargo.toml -------------------------------------------------------------------------------- /crates/ast/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/ast/src/lib.rs -------------------------------------------------------------------------------- /crates/ast/src/nodes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/ast/src/nodes.rs -------------------------------------------------------------------------------- /crates/cache/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/cache/Cargo.toml -------------------------------------------------------------------------------- /crates/cache/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/cache/src/lib.rs -------------------------------------------------------------------------------- /crates/cache/src/manager.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/cache/src/manager.rs -------------------------------------------------------------------------------- /crates/cache/src/metadata.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/cache/src/metadata.rs -------------------------------------------------------------------------------- /crates/cache/src/path.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/cache/src/path.rs -------------------------------------------------------------------------------- /crates/common/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/common/Cargo.toml -------------------------------------------------------------------------------- /crates/common/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/common/src/lib.rs -------------------------------------------------------------------------------- /crates/common/src/span.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/common/src/span.rs -------------------------------------------------------------------------------- /crates/ffi/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/ffi/Cargo.toml -------------------------------------------------------------------------------- /crates/ffi/examples/coverage_analysis.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/ffi/examples/coverage_analysis.rs -------------------------------------------------------------------------------- /crates/ffi/examples/debug_rustdoc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/ffi/examples/debug_rustdoc.rs -------------------------------------------------------------------------------- /crates/ffi/src/cargo_bridge.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/ffi/src/cargo_bridge.rs -------------------------------------------------------------------------------- /crates/ffi/src/dynamic_loader.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/ffi/src/dynamic_loader.rs -------------------------------------------------------------------------------- /crates/ffi/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/ffi/src/lib.rs -------------------------------------------------------------------------------- /crates/ffi/src/metadata.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/ffi/src/metadata.rs -------------------------------------------------------------------------------- /crates/ffi/src/rust_stubgen.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/ffi/src/rust_stubgen.rs -------------------------------------------------------------------------------- /crates/ffi/src/rustdoc_extractor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/ffi/src/rustdoc_extractor.rs -------------------------------------------------------------------------------- /crates/ffi/src/symbol_registry.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/ffi/src/symbol_registry.rs -------------------------------------------------------------------------------- /crates/ffi/src/types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/ffi/src/types.rs -------------------------------------------------------------------------------- /crates/ffi/tests/deep_extraction_tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/ffi/tests/deep_extraction_tests.rs -------------------------------------------------------------------------------- /crates/ffi/tests/extraction_tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/ffi/tests/extraction_tests.rs -------------------------------------------------------------------------------- /crates/fmt/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/fmt/Cargo.toml -------------------------------------------------------------------------------- /crates/fmt/src/formatter.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/fmt/src/formatter.rs -------------------------------------------------------------------------------- /crates/fmt/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/fmt/src/lib.rs -------------------------------------------------------------------------------- /crates/language/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/language/Cargo.toml -------------------------------------------------------------------------------- /crates/language/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/language/src/lib.rs -------------------------------------------------------------------------------- /crates/lexer/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/lexer/Cargo.toml -------------------------------------------------------------------------------- /crates/lexer/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/lexer/src/lib.rs -------------------------------------------------------------------------------- /crates/lexer/src/token.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/lexer/src/token.rs -------------------------------------------------------------------------------- /crates/lexer/src/tokenizer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/lexer/src/tokenizer.rs -------------------------------------------------------------------------------- /crates/module/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/module/Cargo.toml -------------------------------------------------------------------------------- /crates/module/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/module/src/lib.rs -------------------------------------------------------------------------------- /crates/module/src/loader.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/module/src/loader.rs -------------------------------------------------------------------------------- /crates/module/src/processor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/module/src/processor.rs -------------------------------------------------------------------------------- /crates/module/src/resolver.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/module/src/resolver.rs -------------------------------------------------------------------------------- /crates/parser/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/parser/Cargo.toml -------------------------------------------------------------------------------- /crates/parser/src/grammar.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/parser/src/grammar.rs -------------------------------------------------------------------------------- /crates/parser/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/parser/src/lib.rs -------------------------------------------------------------------------------- /crates/utils/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/utils/Cargo.toml -------------------------------------------------------------------------------- /crates/utils/src/bench.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/utils/src/bench.rs -------------------------------------------------------------------------------- /crates/utils/src/errors.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/utils/src/errors.rs -------------------------------------------------------------------------------- /crates/utils/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/utils/src/lib.rs -------------------------------------------------------------------------------- /crates/utils/src/logger.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/utils/src/logger.rs -------------------------------------------------------------------------------- /crates/utils/src/profiler.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/utils/src/profiler.rs -------------------------------------------------------------------------------- /crates/utils/src/timer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/crates/utils/src/timer.rs -------------------------------------------------------------------------------- /docs/API_REFERENCE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/docs/API_REFERENCE.md -------------------------------------------------------------------------------- /docs/EXAMPLES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/docs/EXAMPLES.md -------------------------------------------------------------------------------- /docs/FFI_GUIDE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/docs/FFI_GUIDE.md -------------------------------------------------------------------------------- /docs/GETTING_STARTED.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/docs/GETTING_STARTED.md -------------------------------------------------------------------------------- /docs/LANGUAGE_SPEC.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/docs/LANGUAGE_SPEC.md -------------------------------------------------------------------------------- /docs/TUTORIALS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/docs/TUTORIALS.md -------------------------------------------------------------------------------- /docs/WEBASSEMBLY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/docs/WEBASSEMBLY.md -------------------------------------------------------------------------------- /examples/basic/advanced_pipeline.ot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/examples/basic/advanced_pipeline.ot -------------------------------------------------------------------------------- /examples/basic/enum_demo.ot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/examples/basic/enum_demo.ot -------------------------------------------------------------------------------- /examples/basic/error_handling_advanced.ot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/examples/basic/error_handling_advanced.ot -------------------------------------------------------------------------------- /examples/basic/error_handling_basics.ot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/examples/basic/error_handling_basics.ot -------------------------------------------------------------------------------- /examples/basic/error_handling_resource.ot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/examples/basic/error_handling_resource.ot -------------------------------------------------------------------------------- /examples/basic/error_handling_validation.ot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/examples/basic/error_handling_validation.ot -------------------------------------------------------------------------------- /examples/basic/fibonacci.ot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/examples/basic/fibonacci.ot -------------------------------------------------------------------------------- /examples/basic/hello.ot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/examples/basic/hello.ot -------------------------------------------------------------------------------- /examples/basic/multiline_test.ot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/examples/basic/multiline_test.ot -------------------------------------------------------------------------------- /examples/basic/string_concat.ot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/examples/basic/string_concat.ot -------------------------------------------------------------------------------- /examples/basic/struct_demo.ot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/examples/basic/struct_demo.ot -------------------------------------------------------------------------------- /examples/basic/struct_methods_demo.ot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/examples/basic/struct_methods_demo.ot -------------------------------------------------------------------------------- /examples/basic/target/tmp_binary: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/examples/basic/target/tmp_binary -------------------------------------------------------------------------------- /examples/basic/task_benchmark.ot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/examples/basic/task_benchmark.ot -------------------------------------------------------------------------------- /examples/ffi/test_ffi_struct.otter: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/examples/ffi/test_ffi_struct.otter -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/flake.lock -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/flake.nix -------------------------------------------------------------------------------- /image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/image.png -------------------------------------------------------------------------------- /output.ll: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/bin/lsp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/bin/lsp.rs -------------------------------------------------------------------------------- /src/bin/otter.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/bin/otter.rs -------------------------------------------------------------------------------- /src/cli.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/cli.rs -------------------------------------------------------------------------------- /src/codegen/llvm/bridges.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/codegen/llvm/bridges.rs -------------------------------------------------------------------------------- /src/codegen/llvm/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/codegen/llvm/build.rs -------------------------------------------------------------------------------- /src/codegen/llvm/compiler/expr.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/codegen/llvm/compiler/expr.rs -------------------------------------------------------------------------------- /src/codegen/llvm/compiler/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/codegen/llvm/compiler/mod.rs -------------------------------------------------------------------------------- /src/codegen/llvm/compiler/stmt.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/codegen/llvm/compiler/stmt.rs -------------------------------------------------------------------------------- /src/codegen/llvm/compiler/types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/codegen/llvm/compiler/types.rs -------------------------------------------------------------------------------- /src/codegen/llvm/config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/codegen/llvm/config.rs -------------------------------------------------------------------------------- /src/codegen/llvm/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/codegen/llvm/mod.rs -------------------------------------------------------------------------------- /src/codegen/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/codegen/mod.rs -------------------------------------------------------------------------------- /src/codegen/symbols.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/codegen/symbols.rs -------------------------------------------------------------------------------- /src/codegen/target.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/codegen/target.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/lsp/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/lsp/mod.rs -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/main.rs -------------------------------------------------------------------------------- /src/repl/engine.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/repl/engine.rs -------------------------------------------------------------------------------- /src/repl/events.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/repl/events.rs -------------------------------------------------------------------------------- /src/repl/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/repl/mod.rs -------------------------------------------------------------------------------- /src/repl/state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/repl/state.rs -------------------------------------------------------------------------------- /src/repl/tui.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/repl/tui.rs -------------------------------------------------------------------------------- /src/repl/ui.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/repl/ui.rs -------------------------------------------------------------------------------- /src/runtime/benchmark.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/benchmark.rs -------------------------------------------------------------------------------- /src/runtime/config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/config.rs -------------------------------------------------------------------------------- /src/runtime/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/error.rs -------------------------------------------------------------------------------- /src/runtime/ffi/dynamic.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/ffi/dynamic.rs -------------------------------------------------------------------------------- /src/runtime/ffi/exports.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/ffi/exports.rs -------------------------------------------------------------------------------- /src/runtime/ffi/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/ffi/mod.rs -------------------------------------------------------------------------------- /src/runtime/ffi/providers.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/ffi/providers.rs -------------------------------------------------------------------------------- /src/runtime/ffi_api.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/ffi_api.rs -------------------------------------------------------------------------------- /src/runtime/introspection.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/introspection.rs -------------------------------------------------------------------------------- /src/runtime/jit/adaptive/concurrency.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/adaptive/concurrency.rs -------------------------------------------------------------------------------- /src/runtime/jit/adaptive/memory.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/adaptive/memory.rs -------------------------------------------------------------------------------- /src/runtime/jit/adaptive/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/adaptive/mod.rs -------------------------------------------------------------------------------- /src/runtime/jit/cache/eviction.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/cache/eviction.rs -------------------------------------------------------------------------------- /src/runtime/jit/cache/function_cache.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/cache/function_cache.rs -------------------------------------------------------------------------------- /src/runtime/jit/cache/metadata.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/cache/metadata.rs -------------------------------------------------------------------------------- /src/runtime/jit/cache/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/cache/mod.rs -------------------------------------------------------------------------------- /src/runtime/jit/concurrency/extensions.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/concurrency/extensions.rs -------------------------------------------------------------------------------- /src/runtime/jit/concurrency/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/concurrency/mod.rs -------------------------------------------------------------------------------- /src/runtime/jit/concurrency/monitoring.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/concurrency/monitoring.rs -------------------------------------------------------------------------------- /src/runtime/jit/concurrency/rebalancer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/concurrency/rebalancer.rs -------------------------------------------------------------------------------- /src/runtime/jit/concurrency/scheduler.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/concurrency/scheduler.rs -------------------------------------------------------------------------------- /src/runtime/jit/concurrency/task.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/concurrency/task.rs -------------------------------------------------------------------------------- /src/runtime/jit/concurrency/thread_pool.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/concurrency/thread_pool.rs -------------------------------------------------------------------------------- /src/runtime/jit/concurrency/workload_analyzer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/concurrency/workload_analyzer.rs -------------------------------------------------------------------------------- /src/runtime/jit/engine.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/engine.rs -------------------------------------------------------------------------------- /src/runtime/jit/executor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/executor.rs -------------------------------------------------------------------------------- /src/runtime/jit/layout/analyzer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/layout/analyzer.rs -------------------------------------------------------------------------------- /src/runtime/jit/layout/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/layout/mod.rs -------------------------------------------------------------------------------- /src/runtime/jit/layout/optimizer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/layout/optimizer.rs -------------------------------------------------------------------------------- /src/runtime/jit/layout/profiler.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/layout/profiler.rs -------------------------------------------------------------------------------- /src/runtime/jit/layout/simd.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/layout/simd.rs -------------------------------------------------------------------------------- /src/runtime/jit/layout/transformer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/layout/transformer.rs -------------------------------------------------------------------------------- /src/runtime/jit/layout/validator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/layout/validator.rs -------------------------------------------------------------------------------- /src/runtime/jit/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/mod.rs -------------------------------------------------------------------------------- /src/runtime/jit/optimization/call_graph.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/optimization/call_graph.rs -------------------------------------------------------------------------------- /src/runtime/jit/optimization/inliner.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/optimization/inliner.rs -------------------------------------------------------------------------------- /src/runtime/jit/optimization/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/optimization/mod.rs -------------------------------------------------------------------------------- /src/runtime/jit/optimization/reoptimizer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/optimization/reoptimizer.rs -------------------------------------------------------------------------------- /src/runtime/jit/profiler/call_profiler.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/profiler/call_profiler.rs -------------------------------------------------------------------------------- /src/runtime/jit/profiler/compilation_profiler.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/profiler/compilation_profiler.rs -------------------------------------------------------------------------------- /src/runtime/jit/profiler/hot_detector.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/profiler/hot_detector.rs -------------------------------------------------------------------------------- /src/runtime/jit/profiler/memory_profiler.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/profiler/memory_profiler.rs -------------------------------------------------------------------------------- /src/runtime/jit/profiler/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/profiler/mod.rs -------------------------------------------------------------------------------- /src/runtime/jit/profiler/sampler.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/profiler/sampler.rs -------------------------------------------------------------------------------- /src/runtime/jit/specialization/constant_prop.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/specialization/constant_prop.rs -------------------------------------------------------------------------------- /src/runtime/jit/specialization/key.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/specialization/key.rs -------------------------------------------------------------------------------- /src/runtime/jit/specialization/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/specialization/mod.rs -------------------------------------------------------------------------------- /src/runtime/jit/specialization/specializer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/specialization/specializer.rs -------------------------------------------------------------------------------- /src/runtime/jit/specialization/type_tracker.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/specialization/type_tracker.rs -------------------------------------------------------------------------------- /src/runtime/jit/tiered_compiler.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/jit/tiered_compiler.rs -------------------------------------------------------------------------------- /src/runtime/memory/allocator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/memory/allocator.rs -------------------------------------------------------------------------------- /src/runtime/memory/arena.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/memory/arena.rs -------------------------------------------------------------------------------- /src/runtime/memory/config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/memory/config.rs -------------------------------------------------------------------------------- /src/runtime/memory/gc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/memory/gc.rs -------------------------------------------------------------------------------- /src/runtime/memory/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/memory/mod.rs -------------------------------------------------------------------------------- /src/runtime/memory/object.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/memory/object.rs -------------------------------------------------------------------------------- /src/runtime/memory/profiler.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/memory/profiler.rs -------------------------------------------------------------------------------- /src/runtime/memory/rc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/memory/rc.rs -------------------------------------------------------------------------------- /src/runtime/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/mod.rs -------------------------------------------------------------------------------- /src/runtime/stdlib/builtins.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/stdlib/builtins.rs -------------------------------------------------------------------------------- /src/runtime/stdlib/enums.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/stdlib/enums.rs -------------------------------------------------------------------------------- /src/runtime/stdlib/exceptions.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/stdlib/exceptions.rs -------------------------------------------------------------------------------- /src/runtime/stdlib/fmt.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/stdlib/fmt.rs -------------------------------------------------------------------------------- /src/runtime/stdlib/gc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/stdlib/gc.rs -------------------------------------------------------------------------------- /src/runtime/stdlib/io.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/stdlib/io.rs -------------------------------------------------------------------------------- /src/runtime/stdlib/json.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/stdlib/json.rs -------------------------------------------------------------------------------- /src/runtime/stdlib/math.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/stdlib/math.rs -------------------------------------------------------------------------------- /src/runtime/stdlib/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/stdlib/mod.rs -------------------------------------------------------------------------------- /src/runtime/stdlib/net.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/stdlib/net.rs -------------------------------------------------------------------------------- /src/runtime/stdlib/rand.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/stdlib/rand.rs -------------------------------------------------------------------------------- /src/runtime/stdlib/runtime.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/stdlib/runtime.rs -------------------------------------------------------------------------------- /src/runtime/stdlib/sync.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/stdlib/sync.rs -------------------------------------------------------------------------------- /src/runtime/stdlib/sys.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/stdlib/sys.rs -------------------------------------------------------------------------------- /src/runtime/stdlib/task.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/stdlib/task.rs -------------------------------------------------------------------------------- /src/runtime/stdlib/test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/stdlib/test.rs -------------------------------------------------------------------------------- /src/runtime/stdlib/time.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/stdlib/time.rs -------------------------------------------------------------------------------- /src/runtime/strings.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/strings.rs -------------------------------------------------------------------------------- /src/runtime/symbol_registry.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/symbol_registry.rs -------------------------------------------------------------------------------- /src/runtime/task/channel.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/task/channel.rs -------------------------------------------------------------------------------- /src/runtime/task/metrics.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/task/metrics.rs -------------------------------------------------------------------------------- /src/runtime/task/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/task/mod.rs -------------------------------------------------------------------------------- /src/runtime/task/scheduler.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/task/scheduler.rs -------------------------------------------------------------------------------- /src/runtime/task/task_impl.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/task/task_impl.rs -------------------------------------------------------------------------------- /src/runtime/task/timer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/task/timer.rs -------------------------------------------------------------------------------- /src/runtime/task/tls.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/runtime/task/tls.rs -------------------------------------------------------------------------------- /src/test/discovery.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/test/discovery.rs -------------------------------------------------------------------------------- /src/test/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/test/mod.rs -------------------------------------------------------------------------------- /src/test/reporter.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/test/reporter.rs -------------------------------------------------------------------------------- /src/test/runner.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/test/runner.rs -------------------------------------------------------------------------------- /src/test/snapshot.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/test/snapshot.rs -------------------------------------------------------------------------------- /src/tools/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/tools/mod.rs -------------------------------------------------------------------------------- /src/tools/profiler.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/tools/profiler.rs -------------------------------------------------------------------------------- /src/typecheck/checker.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/typecheck/checker.rs -------------------------------------------------------------------------------- /src/typecheck/diagnostics.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/typecheck/diagnostics.rs -------------------------------------------------------------------------------- /src/typecheck/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/typecheck/mod.rs -------------------------------------------------------------------------------- /src/typecheck/types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/typecheck/types.rs -------------------------------------------------------------------------------- /src/version.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/src/version.rs -------------------------------------------------------------------------------- /stdlib/otter/builtins.ot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/stdlib/otter/builtins.ot -------------------------------------------------------------------------------- /stdlib/otter/core.ot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/stdlib/otter/core.ot -------------------------------------------------------------------------------- /stdlib/otter/fmt.ot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/stdlib/otter/fmt.ot -------------------------------------------------------------------------------- /stdlib/otter/fs.ot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/stdlib/otter/fs.ot -------------------------------------------------------------------------------- /stdlib/otter/http.ot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/stdlib/otter/http.ot -------------------------------------------------------------------------------- /stdlib/otter/io.ot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/stdlib/otter/io.ot -------------------------------------------------------------------------------- /stdlib/otter/json.ot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/stdlib/otter/json.ot -------------------------------------------------------------------------------- /stdlib/otter/math.ot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/stdlib/otter/math.ot -------------------------------------------------------------------------------- /stdlib/otter/net.ot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/stdlib/otter/net.ot -------------------------------------------------------------------------------- /stdlib/otter/rand.ot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/stdlib/otter/rand.ot -------------------------------------------------------------------------------- /stdlib/otter/runtime.ot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/stdlib/otter/runtime.ot -------------------------------------------------------------------------------- /stdlib/otter/task.ot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/stdlib/otter/task.ot -------------------------------------------------------------------------------- /stdlib/otter/time.ot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/stdlib/otter/time.ot -------------------------------------------------------------------------------- /syntaxes/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/syntaxes/README.md -------------------------------------------------------------------------------- /syntaxes/otterlang.tmLanguage.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/syntaxes/otterlang.tmLanguage.json -------------------------------------------------------------------------------- /tests/codegen_debug.ot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/tests/codegen_debug.ot -------------------------------------------------------------------------------- /tests/codegen_tests.ot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/tests/codegen_tests.ot -------------------------------------------------------------------------------- /tests/for_loop_test.ot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/tests/for_loop_test.ot -------------------------------------------------------------------------------- /tests/string_concat.ot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/tests/string_concat.ot -------------------------------------------------------------------------------- /vendor/llvm-sys/.cargo-ok: -------------------------------------------------------------------------------- 1 | {"v":1} -------------------------------------------------------------------------------- /vendor/llvm-sys/.cargo_vcs_info.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/.cargo_vcs_info.json -------------------------------------------------------------------------------- /vendor/llvm-sys/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/.gitignore -------------------------------------------------------------------------------- /vendor/llvm-sys/.gitlab-ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/.gitlab-ci.yml -------------------------------------------------------------------------------- /vendor/llvm-sys/.gitlab/issue_templates/default.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/.gitlab/issue_templates/default.md -------------------------------------------------------------------------------- /vendor/llvm-sys/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/Cargo.toml -------------------------------------------------------------------------------- /vendor/llvm-sys/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/LICENSE -------------------------------------------------------------------------------- /vendor/llvm-sys/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/README.md -------------------------------------------------------------------------------- /vendor/llvm-sys/appveyor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/appveyor.yml -------------------------------------------------------------------------------- /vendor/llvm-sys/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/build.rs -------------------------------------------------------------------------------- /vendor/llvm-sys/examples/disassembler.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/examples/disassembler.rs -------------------------------------------------------------------------------- /vendor/llvm-sys/examples/jit-function.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/examples/jit-function.rs -------------------------------------------------------------------------------- /vendor/llvm-sys/examples/nop-function.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/examples/nop-function.rs -------------------------------------------------------------------------------- /vendor/llvm-sys/scripts/RELEASE_CHECKLIST.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/scripts/RELEASE_CHECKLIST.md -------------------------------------------------------------------------------- /vendor/llvm-sys/scripts/backport-commits.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/scripts/backport-commits.sh -------------------------------------------------------------------------------- /vendor/llvm-sys/scripts/build-binaries.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/scripts/build-binaries.sh -------------------------------------------------------------------------------- /vendor/llvm-sys/scripts/release-branches.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/scripts/release-branches.sh -------------------------------------------------------------------------------- /vendor/llvm-sys/scripts/rustc-commit.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/scripts/rustc-commit.sh -------------------------------------------------------------------------------- /vendor/llvm-sys/src/analysis.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/src/analysis.rs -------------------------------------------------------------------------------- /vendor/llvm-sys/src/bit_reader.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/src/bit_reader.rs -------------------------------------------------------------------------------- /vendor/llvm-sys/src/bit_writer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/src/bit_writer.rs -------------------------------------------------------------------------------- /vendor/llvm-sys/src/blake3.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/src/blake3.rs -------------------------------------------------------------------------------- /vendor/llvm-sys/src/comdat.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/src/comdat.rs -------------------------------------------------------------------------------- /vendor/llvm-sys/src/core.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/src/core.rs -------------------------------------------------------------------------------- /vendor/llvm-sys/src/debuginfo.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/src/debuginfo.rs -------------------------------------------------------------------------------- /vendor/llvm-sys/src/disassembler.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/src/disassembler.rs -------------------------------------------------------------------------------- /vendor/llvm-sys/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/src/error.rs -------------------------------------------------------------------------------- /vendor/llvm-sys/src/error_handling.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/src/error_handling.rs -------------------------------------------------------------------------------- /vendor/llvm-sys/src/execution_engine.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/src/execution_engine.rs -------------------------------------------------------------------------------- /vendor/llvm-sys/src/ir_reader.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/src/ir_reader.rs -------------------------------------------------------------------------------- /vendor/llvm-sys/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/src/lib.rs -------------------------------------------------------------------------------- /vendor/llvm-sys/src/linker.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/src/linker.rs -------------------------------------------------------------------------------- /vendor/llvm-sys/src/lto.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/src/lto.rs -------------------------------------------------------------------------------- /vendor/llvm-sys/src/object.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/src/object.rs -------------------------------------------------------------------------------- /vendor/llvm-sys/src/orc2/ee.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/src/orc2/ee.rs -------------------------------------------------------------------------------- /vendor/llvm-sys/src/orc2/lljit.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/src/orc2/lljit.rs -------------------------------------------------------------------------------- /vendor/llvm-sys/src/orc2/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/src/orc2/mod.rs -------------------------------------------------------------------------------- /vendor/llvm-sys/src/remarks.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/src/remarks.rs -------------------------------------------------------------------------------- /vendor/llvm-sys/src/support.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/src/support.rs -------------------------------------------------------------------------------- /vendor/llvm-sys/src/target.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/src/target.rs -------------------------------------------------------------------------------- /vendor/llvm-sys/src/target_machine.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/src/target_machine.rs -------------------------------------------------------------------------------- /vendor/llvm-sys/src/transforms.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/src/transforms.rs -------------------------------------------------------------------------------- /vendor/llvm-sys/src/transforms/pass_builder.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/src/transforms/pass_builder.rs -------------------------------------------------------------------------------- /vendor/llvm-sys/wrappers/target.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vendor/llvm-sys/wrappers/target.c -------------------------------------------------------------------------------- /vscode-extension/.gitignore: -------------------------------------------------------------------------------- 1 | out 2 | node_modules 3 | *.vsix 4 | 5 | -------------------------------------------------------------------------------- /vscode-extension/.vscodeignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vscode-extension/.vscodeignore -------------------------------------------------------------------------------- /vscode-extension/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vscode-extension/CONTRIBUTING.md -------------------------------------------------------------------------------- /vscode-extension/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vscode-extension/LICENSE -------------------------------------------------------------------------------- /vscode-extension/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vscode-extension/README.md -------------------------------------------------------------------------------- /vscode-extension/icons/otter-icon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vscode-extension/icons/otter-icon.svg -------------------------------------------------------------------------------- /vscode-extension/icons/otterlang-icon-theme.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vscode-extension/icons/otterlang-icon-theme.json -------------------------------------------------------------------------------- /vscode-extension/language-configuration.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vscode-extension/language-configuration.json -------------------------------------------------------------------------------- /vscode-extension/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vscode-extension/package-lock.json -------------------------------------------------------------------------------- /vscode-extension/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vscode-extension/package.json -------------------------------------------------------------------------------- /vscode-extension/snippets/otterlang.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vscode-extension/snippets/otterlang.json -------------------------------------------------------------------------------- /vscode-extension/src/extension.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vscode-extension/src/extension.ts -------------------------------------------------------------------------------- /vscode-extension/syntaxes/otterlang.tmLanguage.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vscode-extension/syntaxes/otterlang.tmLanguage.json -------------------------------------------------------------------------------- /vscode-extension/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanmagambo/otterlang/HEAD/vscode-extension/tsconfig.json --------------------------------------------------------------------------------