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

[suggestion] seperate parser for use in other Rust compilers #14

Open
gkgoat1 opened this issue Nov 10, 2024 · 2 comments
Open

[suggestion] seperate parser for use in other Rust compilers #14

gkgoat1 opened this issue Nov 10, 2024 · 2 comments

Comments

@gkgoat1
Copy link

gkgoat1 commented Nov 10, 2024

I want to make a Rust compiler with different targets to lccc, and want to share the Rust lexer and parser with lccc. A seperate crate would allow both of us to use the same parser and implement different analyses and backends.

@chorman0773
Copy link
Contributor

The frontend is intended to be usable as an rlib, would that suffice here?

@gkgoat1
Copy link
Author

gkgoat1 commented Nov 10, 2024

The frontend is intended to be usable as an rlib, would that suffice here?

The current crate contains lowering to lccc's ir, if you mean frontend-rust

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

No branches or pull requests

2 participants