18 Commits

Author SHA1 Message Date
46ba82bc55 Commit remaining unstaged changes 2026-04-04 15:47:15 +02:00
88d5fb71cc Implement async time, shielding, and socket foundations 2026-04-01 19:04:58 +02:00
882eff4fad Extend test coverage for sparse and missing areas
Add tests for module loader (load order, caching, operator scanning,
path syntax, diamond deps, transitive cycles), ownership analysis
(type classification, expression classification), ref analysis
(owned-ref elision, threaded branch/loop/match isolation, call
invalidation), VM (arithmetic, comparisons, jumps, nested calls,
chunk metadata), and closure conversion (capture detection, mutable
capture rejection, env struct shape).

Update pre-existing ownership and ref analysis tests to match current
semantics where all ref-typed names classify as OwnValue.

Register previously-unregistered test files in nimble test task.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 23:29:40 +02:00
a8e9988c1d Fix unreachable return warnings 2026-03-27 12:22:42 +01:00
6a3c7f4100 Add converter-based type conversions 2026-03-27 12:07:09 +01:00
051f2b7321 Add interactive REPL accessible via 'peon repl'
Implements a full-featured REPL using an accumulate-and-recompile
strategy with output diffing. Auto-imports std, auto-prints bare
expressions, supports multi-line input, tab completion, and REPL
commands (:help, :quit, :clear, :source, :history, :type).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 02:25:33 +01:00
6b776a2772 Add cached native C object builds 2026-03-23 01:27:18 +01:00
eb9f6a162f Initial work on dead code elimination. Clean up and refactoring. Include module name in generated C output names 2026-03-22 19:55:02 +01:00
6586f83d98 Remove automatic test runner and dead dependency from nimble file 2026-03-22 14:24:09 +01:00
5f478bf3be Fix CLI flag parsing and add regression tests 2026-03-22 14:23:15 +01:00
d83bf809fe Update nimble file to reflect new developments 2026-03-22 13:49:17 +01:00
b8bb50c93d Bring up initial native C backend toolchain 2026-03-21 21:41:09 +01:00
1e22bc0b56 Implement module loading and import semantics 2026-03-21 19:26:33 +01:00
c4d51f91d8 Fix compilation issues, add initial parsing test suite and initial work on bytecode backend 2024-07-08 12:37:31 +02:00
4fc078d4d8 Initial work on parser tests. Parser bug fixes. Minor changes to type checker 2024-04-08 14:33:14 +02:00
b0b7739a63 Change build directory 2024-02-23 13:15:10 +01:00
c5450a9e19 Build task now fails if tests fail 2024-02-23 13:15:10 +01:00
ee90dad3d2 Turn peon into a proper nimble package and add initial test suite 2024-02-23 13:15:07 +01:00