maude: Phase 1 parser — fmod/mod modules, signatures, mixfix terms (65 tests)
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 1m14s

Term representation (lib/maude/term.sx) plus a module parser
(lib/maude/parser.sx) consuming lib/guest/lex + pratt:

- whitespace+bracket tokenizer (--- / *** comments)
- mixfix classification (split op names on _): infix/prefix/postfix/const
- precedence-climbing term parser over a pratt table built from op decls
- fmod/mod ... endfm/endm with sort/subsort/op/var/eq/ceq/rl/crl
- transitive subsort hierarchy + operator overloading queries

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-07 14:43:02 +00:00
parent 37b7d1635c
commit 9f87206949
8 changed files with 1093 additions and 6 deletions

10
lib/maude/scoreboard.json Normal file
View File

@@ -0,0 +1,10 @@
{
"lang": "maude",
"total_passed": 65,
"total_failed": 0,
"total": 65,
"suites": [
{"name":"parse","passed":65,"failed":0,"total":65}
],
"generated": "2026-06-07T14:42:29+00:00"
}