Skip to content

Remove core frontend parser, --core flag, and examples/core#158

Open
alcides wants to merge 1 commit intomasterfrom
remove-core-frontend-parser
Open

Remove core frontend parser, --core flag, and examples/core#158
alcides wants to merge 1 commit intomasterfrom
remove-core-frontend-parser

Conversation

@alcides
Copy link
Copy Markdown
Owner

@alcides alcides commented Apr 5, 2026

Summary

  • Remove examples/core/ (broken examples, not in CI).
  • Remove --core CLI flag and AeonDriver.parse_core() (incomplete legacy path).
  • Move core term/type parser from aeon/frontend/ to aeon/core/; update imports and docs.

Test plan

  • uv run pytest (230 passed locally)
  • run_examples.sh

Made with Cursor

The core parser (`aeon/frontend/parser.py` + `aeon_core.lark`) was a
legacy entry point that allowed running `.ae` files written in the
internal core language directly. The driver already had a TODO to
deprecate it, and examples/core/ all failed to run.

- Delete `examples/core/` (6 files, all broken)
- Remove `--core` CLI flag from `__main__.py`
- Remove `parse_core()` method from `AeonDriver`
- Move `parser.py` and `aeon_core.lark` from `aeon/frontend/` to
  `aeon/core/`, where they belong as internal utilities for tests
  and verification
- Update all imports (12 files) and documentation

Made-with: Cursor
@alcides alcides force-pushed the remove-core-frontend-parser branch from 9b11b4e to 11a8ff4 Compare April 5, 2026 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant