Open Boarders opened 11 months ago
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.
In the README for
semantic-ast
here it mentions how to use the executable inapp/Main.hs
to do Haskell codegen for the given grammar. However this executable is not defined in thesemantic-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.