Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recreate the parser with scopes #1

Merged
merged 1 commit into from
Dec 27, 2021

Conversation

Flakebi
Copy link
Contributor

@Flakebi Flakebi commented Dec 27, 2021

Add more semantic meaning of functions and instructions.
This allows e.g. selecting functions or arguments and context-sensitive
highlighting (e.g. for a %struct in it's definition or usage as a
type).

The implementation is based on the parser implementation in llvm and the
llvm language reference.
The instruction tests are taken from the llvm language reference.

I ran the parser on the llvm test suite (filtering out the tests that
contain invalid IR) and it doesn't emit ERROR or MISSING on them.

Add more semantic meaning of functions and instructions.
This allows e.g. selecting functions or arguments and context-sensitive
highlighting (e.g. for a `%struct` in it's definition or usage as a
type).

The implementation is based on the parser implementation in llvm and the
llvm language reference.
The instruction tests are taken from the llvm language reference.

I ran the parser on the llvm test suite (filtering out the tests that
contain invalid IR) and it doesn't emit ERROR or MISSING on them.
@benwilliamgraham
Copy link
Owner

Fantastic, looks great!

@benwilliamgraham benwilliamgraham merged commit 3b21392 into benwilliamgraham:main Dec 27, 2021
@Flakebi Flakebi deleted the improve branch December 27, 2021 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants