Skip to content

antlr4_7: init at 4.7 #26594

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

Merged
merged 1 commit into from
Jun 24, 2017
Merged

antlr4_7: init at 4.7 #26594

merged 1 commit into from
Jun 24, 2017

Conversation

jchildren
Copy link

@jchildren jchildren commented Jun 15, 2017

Motivation for this change

Antlr is a really useful tool for polyglot parser generation and this expression contains the tool and java run-time. Also included is the grun testing rig.

I have tested that it is possible to perform the steps described in the getting started guide on my local machine as well as used it to generate parsers in java, javascript and golang.

Other run-times are not included in this expression, but they are typically installed by language specific package managers, with the exception of C++. I expect this dependency would be managed by the project using the tool however.

grun gui mode is gtk dependent which may vary based on environment, but I didn't want to include them as explicit dependencies as they are not needed to use grun in other modes.

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

Sorry, something went wrong.

@pSub pSub added the 8.has: package (new) This PR adds a new package label Jun 15, 2017
Includes a more recent version of antlr to nixpkgs. Previous
versions exist already, but version 4 brings many changes
to the generated code and runtime targets.

The install location has been changed from previous versions
of antlr to make use of the set-java-classpath hook, which
is required to make use of both the runtime and the binary.

Also includes the testing rig as a script to allow graphical
inspection of parse trees.
@Mic92 Mic92 merged commit 8f9d3bf into NixOS:master Jun 24, 2017
@Janik-Haag Janik-Haag added the 12. first-time contribution This PR is the author's first one; please be gentle! label Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.has: package (new) This PR adds a new package 12. first-time contribution This PR is the author's first one; please be gentle!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants