Pyk `parse-outer` Command

Open
#4,278 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
compilers

Research direction

Start at the pyk parse-outer command and its _ast_to_kast implementation. Review the listed parsing tasks, including desugaring, prelude handling, unreachable modules, circular imports, duplicate names, and completing AST conversion; done means these cases are implemented and parse-outer produces KAST-compatible output.

Written by the indexing model from the issue text.

Description

pyk

Work still to do on outer parsing with pyk:

  • Desugar K language syntax to KAST compatible items
  • Import the prelude and add --no-prelude option
  • Trim away modules unreachable from the main/syntax modules (modulo some builtins)
  • Circular imports
  • Modules with duplicate names
  • Finish implementing _ast_to_kast
Dominant language
Python
Stars
591
Forks
163
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from runtimeverification/k

All issues in runtimeverification/k

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.