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

Lucid compiler as a separate module? #37

Open
nishtahir opened this issue Jul 9, 2022 · 0 comments
Open

Lucid compiler as a separate module? #37

nishtahir opened this issue Jul 9, 2022 · 0 comments

Comments

@nishtahir
Copy link

nishtahir commented Jul 9, 2022

I'm interested in using Lucid as a language in workflows outside of labs. Moving the ANTLR grammar, parser, and accompanying compiler sources here will facilitate this.

This will have the following advantages

  • The compiler can be decoupled from the rest of the IDE allowing the compiler to be developed separately. This will make it more reusable and allow other frontends to be developed around it.
  • It will make it easy for new contributors to understand the architecture of the toolchain. Allowing contributors to focus their attention on the part of the codebase that they are most interested in.

For the implementation, I don't think this requires moving the compiler into a separate repository (but there is a case that it should be its own independent project), I think it would be reasonably easy to take advantage of Gradle modules for this specific usecase.

I'd be happy to take a stab at working on this if there's interest.

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

1 participant