tricu

An interpreted language for exploring Tree Calculus
Log | Files | Refs | README | LICENSE

Download .tar.gz

ModeNameSize
-rw-r--r--.gitignore14L
-rw-r--r--AGENTS.md77L
-rw-r--r--LICENSE7L
-rw-r--r--README.md85L
-rw-r--r--bench/ApplyStats.hs240L
-rw-r--r--bench/Bench.hs64L
-rw-r--r--demos/contractBasics.tri25L
-rw-r--r--demos/contractEffects.tri64L
-rw-r--r--demos/equality.tri36L
-rw-r--r--demos/interactionTrees.tri57L
-rw-r--r--demos/interactionTrees/arboricxServer.tri22L
-rw-r--r--demos/interactionTrees/echoServer.tri28L
-rw-r--r--demos/interactionTrees/environment.tri19L
-rw-r--r--demos/interactionTrees/forkAwait.tri17L
-rw-r--r--demos/interactionTrees/getLineAsync.tri26L
-rw-r--r--demos/interactionTrees/greet.tri9L
-rw-r--r--demos/interactionTrees/httpServer.tri16L
-rw-r--r--demos/interactionTrees/safeRead.tri15L
-rw-r--r--demos/interactionTrees/shout.tri22L
-rw-r--r--demos/interactionTrees/state.tri21L
-rw-r--r--demos/interactionTrees/writeThenRead.tri19L
-rw-r--r--demos/interactionTrees/yield.tri32L
-rw-r--r--demos/levelOrderTraversal.tri63L
-rw-r--r--demos/patternMatching.tri37L
-rw-r--r--demos/runArboricxBundle.tri25L
-rw-r--r--demos/size.tri10L
-rw-r--r--demos/toSource.tri49L
-rw-r--r--docs/arboricx-bundle-format.md364L
-rw-r--r--docs/content-store-and-module-format.md549L
-rw-r--r--docs/contracts.md326L
-rw-r--r--docs/host-abi.md247L
-rw-r--r--docs/module-system-design.md500L
-rw-r--r--docs/self-hosted-arboricx-host.md483L
-rw-r--r--ext/js/.gitignore1L
-rw-r--r--ext/js/package-lock.json29L
-rw-r--r--ext/js/package.json20L
-rw-r--r--ext/js/src/cli.js104L
-rw-r--r--ext/js/src/lib.js224L
-rw-r--r--ext/js/test/bundle.test.js93L
-rw-r--r--ext/js/test/reduce.test.js113L
-rw-r--r--ext/js/test/run-bundle.test.js125L
-rw-r--r--ext/php/public/eval.php53L
-rw-r--r--ext/php/public/index.php30L
-rw-r--r--ext/php/run.php103L
-rw-r--r--ext/php/src/common.php81L
-rw-r--r--ext/php/src/ffi.php138L
-rw-r--r--ext/zig/.gitignore13L
-rw-r--r--ext/zig/build.zig71L
-rw-r--r--ext/zig/build.zig.zon13L
-rw-r--r--ext/zig/include/arboricx.h73L
-rw-r--r--ext/zig/kernel_run_arboricx_typed.dag2578L
l---------ext/zig/result1L
-rw-r--r--ext/zig/src/arena.zig36L
-rw-r--r--ext/zig/src/bundle.zig363L
-rw-r--r--ext/zig/src/c_abi.zig252L
-rw-r--r--ext/zig/src/codecs.zig205L
-rw-r--r--ext/zig/src/io_driver.zig845L
-rw-r--r--ext/zig/src/kernel.zig22L
-rw-r--r--ext/zig/src/main.zig261L
-rw-r--r--ext/zig/src/reduce.zig114L
-rw-r--r--ext/zig/src/ternary.zig27L
-rw-r--r--ext/zig/src/tree.zig191L
-rw-r--r--ext/zig/tests/c_abi_append_test.c86L
-rw-r--r--ext/zig/tests/c_abi_test.c119L
-rw-r--r--ext/zig/tests/io_protocol_test.c223L
-rw-r--r--ext/zig/tests/io_run_test.c217L
-rw-r--r--ext/zig/tests/native_bundle_append_test.c84L
-rw-r--r--ext/zig/tests/native_bundle_bools_test.c60L
-rw-r--r--ext/zig/tests/native_bundle_id_test.c60L
-rw-r--r--ext/zig/tests/python_ffi_test.py251L
-rw-r--r--ext/zig/tools/gen_kernel.zig92L
-rw-r--r--flake.lock60L
-rw-r--r--flake.nix312L
-rw-r--r--lib/arboricx/arboricx.tri158L
-rw-r--r--lib/arboricx/common.tri431L
-rw-r--r--lib/arboricx/dispatch.tri7L
-rw-r--r--lib/arboricx/manifest.tri346L
-rw-r--r--lib/arboricx/nodes.tri374L
-rw-r--r--lib/arboricx/server.tri206L
-rw-r--r--lib/base.tri922L
-rw-r--r--lib/binary.tri109L
-rw-r--r--lib/bytes.tri16L
-rw-r--r--lib/conversions.tri21L
-rw-r--r--lib/http.tri849L
-rw-r--r--lib/intensionalContracts.tri53L
-rw-r--r--lib/io.tri161L
-rw-r--r--lib/patterns.tri40L
-rw-r--r--lib/prelude.tri3L
-rw-r--r--lib/socket.tri82L
-rw-r--r--notes/contract-design.md328L
-rw-r--r--notes/php-cli-run-flags.md18L
-rw-r--r--notes/tricu-cli-debugging.md17L
-rw-r--r--notes/tricu-normalization-rules.md248L
-rw-r--r--src/ContentStore.hs13L
-rw-r--r--src/ContentStore/Alias.hs81L
-rw-r--r--src/ContentStore/Arboricx.hs94L
-rw-r--r--src/ContentStore/Bundle.hs37L
-rw-r--r--src/ContentStore/Filesystem.hs60L
-rw-r--r--src/ContentStore/Object.hs45L
-rw-r--r--src/ContentStore/Resolver.hs110L
-rw-r--r--src/Eval.hs624L
-rw-r--r--src/FileEval.hs238L
-rw-r--r--src/Frontend/ContractDesugar.hs118L
-rw-r--r--src/IODriver.hs1352L
-rw-r--r--src/Lexer.hs217L
-rw-r--r--src/Main.hs630L
-rw-r--r--src/Module/Manifest.hs129L
-rw-r--r--src/Module/Resolver.hs142L
-rw-r--r--src/Module/Workspace.hs66L
-rw-r--r--src/Parser.hs758L
-rw-r--r--src/REPL.hs260L
-rw-r--r--src/Research.hs379L
-rw-r--r--src/Wire.hs865L
-rw-r--r--test/Spec.hs4096L
-rw-r--r--test/comments-1.tri9L
-rw-r--r--test/fixtures/append.arboricx968B
-rw-r--r--test/fixtures/false.arboricx432B
-rw-r--r--test/fixtures/greet-io.aboricx1415B
-rw-r--r--test/fixtures/id.arboricx460B
-rw-r--r--test/fixtures/map.arboricx1079B
-rw-r--r--test/fixtures/notQ.arboricx492B
-rw-r--r--test/fixtures/runArboricxTyped.arboricx31015B
-rw-r--r--test/fixtures/size.arboricx1300B
-rw-r--r--test/fixtures/true.arboricx440B
-rw-r--r--test/fork.tri1L
-rw-r--r--test/map.tri2L
-rw-r--r--test/size.tri21L
-rw-r--r--test/string.tri1L
-rw-r--r--test/unresolved-A.tri1L
-rw-r--r--tricu-apps/arboricxServer.tri23L
-rw-r--r--tricu.cabal199L
-rw-r--r--tricu.workspace18L