Andreas Abel
Andreas Abel
> Add `printable` to represent all printable unicode chars Yes, this would be great to have, but I don't know how to implement this. `printable` would have to be mapped...
Hello @gdziadkiewicz, thank you for your initiative! I was planning to evaluate your PR yesterday, but `brew install nuget` got me into a rabbit hole with `brew` occupying my CPU...
@gdziadkiewicz worte: > 1. I'm willing to join as a maintainer. How does a maintainer pledge look like? Great! This pledge is nothing formal, it is the serious promise that...
Thanks for the PR! I built and tested it. Atm, two tests are not yet working. The first is `266_define`: ``` [TEST] Parameterized tests:F#:F#:266_define § Generate bnfc -mMyMakefile --fsharp /Users/abel/project/open-source/bnfc/testing/regression-tests/266_define/test.cf...
@gdziadkiewicz Currently the generated `Makefile` only has the `clean` goal. Could it be extended by a - goal that calls `dotnet build` whenever on of the dependencies is updated -...
I agree, BNFC's filename sanitization is a bit odd. For instance, `Foo1.cf` is shortened to stem `Foo` in some backends (Haskell/Ocaml/Java), dropping the number. This can however be utilized by...
I now see that our PLT students shoot themselves in the foot unknowingly by naming their grammar `lab1.cf`. So I am tending to enforce a discipline on grammar file names...
What are legal module/package names? - Haskell module: Uppercase Haskell identifiers (letter, digits, underscores, prime): https://www.haskell.org/onlinereport/lexemes.html - Ocaml module: same as Haskell: https://ocaml.org/manual/names.html#module-name - Java package: Java identifiers, separated by...
Printer has overlapping patterns because both pragmas lead to clauses in the printer for integer lists: ``` [4 of 6] Compiling PrintTest ( PrintTest.hs, PrintTest.o ) PrintTest.hs:97:3: warning: [-Woverlapping-patterns] Pattern...
To implement a smarter `coercions` pragma, we need to restructure `GetCF.getCFP` to make two passes over the `.cf` file: 1. Collect all the non-terminals defined by rules in the `.cf`...