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

semantic-ast doesn't have an associated executable #706

Open
Boarders opened this issue Dec 6, 2023 · 1 comment
Open

semantic-ast doesn't have an associated executable #706

Boarders opened this issue Dec 6, 2023 · 1 comment

Comments

@Boarders
Copy link

Boarders commented Dec 6, 2023

In the README for semantic-ast here it mentions how to use the executable in app/Main.hs to do Haskell codegen for the given grammar. However this executable is not defined in the semantic-ast cabal file. I was wondering if this was just an oversight or some deliberate change or if there is something obvious I am missing about how to create this executable?

Happy to make a PR to add it to the cabal file if that would be welcome.

@flip111
Copy link

flip111 commented Apr 20, 2024

It's not just about declaring Main.hs in the cabal file. The source code of Main.hs is very much integrated with Bazel. Bazel is not necessary and should be optional. Also it will automatically run ormulu on the generate code where you might want no formatting or run your own formatter.

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