plum

#treesitter#compiler#wasm

git clone https://git.pyrossh.dev/plum

A statically typed, imperative programming language inspired by rust, python


38e52e1 — Peter John 2026-11-13T16:50:53+05:30
tests: no `test` blocks, tests in the tests/ mirror as `primitive XTest[UnitTest]` funs; std's and the examples' tests moved to tests/std/.. and tests/examples/.. (the games' too), the benchmarks' to tests/benchmarks/.., the web-test fixture's to fixtures/tests/; std/testing's marker `trait UnitTest` (a trait may have no body); each fun without parameters of a UnitTest primitive is a test named `XTest.fun`, one with parameters a helper; a UnitTest primitive outside a `tests` folder is an error naming the mirror, and a primitive's traits must be declared and without methods; a file never imports itself and from inside tests/ a file imports what it mirrors; `m.f` without a call is the function as a value; examples/match.plum is examples/patterns.plum (`match` is a keyword); grammar, formatter, LSP, docs (language.md Tests and Modules, std.md, game.md, tools.md, README)

This diff is too large to display.