Document munging process for `symbol(_)` attributes
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- compilers
Research direction
Start by reading docs/kore-syntax.md at the referenced identifier rules and inspecting the affected symbols under k-distribution/includes. Determine whether the intended scope is warnings, a naming convention, cleanup, or all three. Done should include an agreed behavior for invalid symbol attributes and updated nonconforming symbols.
Written by the indexing model from the issue text.
Description
Characters that are not valid in a KORE identifier (i.e. anything except for digits, letters, - and ') included in the symbol attribute value will be encoded in the corresponding KORE symbol name.
E.g.
symbol(_|->_)
becomes
Lbl'UndsPipe'-'-GT-Unds
in KORE.
In order to ensure that the attribute value (and hence the KLabel of the production) and the KORE symbol are as close to each other as possible (i.e. to make sure the only difference is the Lbl prefix in KORE), consider emitting a warning on such attribute values.
This can be taken one step further by also enforcing a naming convention, e.g. kebab-case (then the symbol would also be a good value for the smtlib attribute, so perhaps we could even drop that one).
A large number of symbols in k-distribution/includes do not conform to this restriction, so those should be cleaned up as well.
- Dominant language
- Python
- Stars
- 591
- Forks
- 163
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from runtimeverification/k
-
runtimeverification/k#4939 · 1 assignee ·
-
Concolic Explorer Open
Difficulty 5/5 Over a week Newbie friendliness 32/100
runtimeverification/k#4937 ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
runtimeverification/k#4936 ·
-
type:epic
runtimeverification/k#4934 · 4 comments · 1 assignee ·
-
runtimeverification/k#4924 · 1 assignee ·
All issues in runtimeverification/k
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100