hylo-lang / hylo-lang/specification

Compound Expressions sometimes wrongly refer to Primary Expressions

Open
#19 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TeX
Stars
23
Forks
8
PR merge metrics
No merged PRs in 30d

Description

I think the following rules are supposed to refer to `compound-expr` rather than `primary-expr`:

```
labeled-member-expr ::=
primary-expr '.' primary-decl-ref

indexed-member-expr ::=
primary-expr '.' member-index
```
```
function-call-head ::= (no-implicit-whitespace)
primary-expr '('
```
```
subscript-call-head ::= (no-implicit-whitespace)
primary-expr '['
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Search the specification for the four quoted productions: labeled-member-expr, indexed-member-expr, function-call-head, and subscript-call-head. Compare their expression references with the surrounding grammar and verify whether compound-expr is intended; done means the affected rules consistently use the correct expression category.

Written by the indexing model from the issue text.

Assessment

Tech stack
tex
Domain
compilers
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.