evhub / evhub/coconut

Line-by-line parsing

Open
#815 1 comment 0 reactions 0 assignees View on GitHub
partially resolved performance
Dominant language
Python
Stars
4.4k
Forks
142
PR merge metrics
No merged PRs in 30d

Description

If we introduced parsing individually for each `lineitem`, we could very easily cache and reuse prefix parses by storing the full compiler state after the lineitem. Would require adjusting `loc`s.

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points, so begin by locating the compiler parsing implementation and its handling of lineitems and locs. Done means parsing lineitems individually, caching and reusing prefix parses through the full compiler state, and adjusting locs without breaking existing behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.