Skip to content

Commit 13080a6

Browse files
hyperpolymathclaude
andcommitted
docs: update STATE.scm and CHANGELOG.md for parser extensions (2026-03-29)
STATE.scm: last-session updated, 9 new completed parser items. CHANGELOG.md: Added/Fixed sections for all grammar changes. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 47378c3 commit 13080a6

2 files changed

Lines changed: 25 additions & 2 deletions

File tree

.machine_readable/STATE.scm

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
;; SPDX-License-Identifier: PMPL-1.0-or-later
2-
;; Ephapax project state — updated 2026-03-28
2+
;; Ephapax project state — updated 2026-03-29
33
(state
44
(metadata
55
(version "0.1.0")
6-
(last-session "2026-03-28")
6+
(last-session "2026-03-29")
77
(agent "claude-opus-4.6"))
88

99
(project-context
@@ -29,6 +29,15 @@
2929
("effect-type-checking" . "done")
3030
("parser-generics-imports" . "done")
3131
("parser-perform-handle" . "done")
32+
("parser-qualified-modules" . "done")
33+
("parser-haskell-comments" . "done")
34+
("parser-linear-affine-modifiers" . "done")
35+
("parser-const-decl" . "done")
36+
("parser-named-record-types" . "done")
37+
("parser-arrow-return-syntax" . "done")
38+
("parser-region-colon-syntax" . "done")
39+
("parser-keyword-word-boundary" . "done")
40+
("ast-decl-const-variant" . "done")
3241
("formal-flags-only-increase" . "Qed")
3342
("formal-ctx-transfer" . "20/24-proved-4-need-consumption-tracking")
3443
("formal-subst-lemma" . "needs-ctx-transfer")

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@ All notable changes to Ephapax are documented here.
55

66
## [Unreleased]
77

8+
### Added
9+
- `module Qualified.Name` declarations (dotted module paths)
10+
- `--` Haskell-style line comments (alongside existing `//` and `/* */`)
11+
- Qualified names in imports: `import Foo.Bar.Baz`
12+
- `linear type` and `affine type` modifiers on type definitions
13+
- `const_decl`: module-level `let NAME = expr` bindings
14+
- `named_record_type_def`: `Type = Constructor { field: Type, ... }` syntax
15+
- `->` return type syntax (alongside existing `:`)
16+
- `region name:` colon syntax (alongside `region name { }`)
17+
- `Decl::Const` variant in the AST for module-level constants
18+
19+
### Fixed
20+
- Keyword word-boundary fix: identifiers like `init_result` no longer blocked by `in` keyword match
21+
822
### Changed
923
- Parser hardened: 80 production unwraps eliminated, proper ParseError propagation
1024
- License headers: 13 files migrated from EUPL-1.2 to PMPL-1.0-or-later

0 commit comments

Comments
 (0)