ForNeVeR / ForNeVeR/Cesium

Work around "the lexer hack"

Open
#115 0 comments 0 reactions 0 assignees View on GitHub
area:compiler area:parser kind:refactor status:help-wanted
Dominant language
C#
Stars
451
Forks
49
Avg merge
13h 59m
Merged PRs (30d)
6

Description

Currently, certain syntax constructs have to be parsed as `AmbiguousBlockItem`, and then resolved in emit time.

I don't like the current solution (since it introduces a lot of noise into the code), and would like to see a more clean solution. At least, let's get rid of these ugly direct type casts somehow.

See `// TODO[#115]` in the code to find the related issues.

See also: a dicsussion https://github.com/LanguageDev/Yoakke/discussions/139 which lead to the current solution.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.