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

Create jflex rule for bazel #401

Merged
merged 27 commits into from
Oct 2, 2018
Merged

Create jflex rule for bazel #401

merged 27 commits into from
Oct 2, 2018

Conversation

regisd
Copy link
Member

@regisd regisd commented Oct 1, 2018

  • Define the Bazel rule jflex. Fix Add support for Bazel #204 (Bazel support)
  • The rule uses JFlex 1.6.1 because v1.7.0 has missing dependencies (see Failure to find de.jflex:cup_runtime:jar:11b #390)
  • Show how to use the rule on example "simple"
    • Make examples a Bazel workspace
    • In an wish to support all build systems in the examples, show how to generate a lexer with Bazel on "simple".
    • Attempted to have a java_test on Yylex. However dropped, because the dump format has changed between 1.6.1 and 1.7.0. Blocked on Failure to find de.jflex:cup_runtime:jar:11b #390
    • Import the deps needed for simple via the bazel migration tool.
    • Also define, a few third_party aliases
    • N.B. Renamed ant build directory to antbuild because we cannot have both a build directory ant a BUILD file on case insensitive filesystems
    • Also, in the YylexTest output the logs in a ByteArrayOutputStream rather than an actual file.
  • Add documentation

@regisd regisd added this to the 1.7.1 milestone Oct 1, 2018
@regisd regisd self-assigned this Oct 1, 2018
@regisd regisd added enhancement Feature requests task Process tasks documentation labels Oct 1, 2018
@regisd regisd merged commit ec9c51a into jflex-de:master Oct 2, 2018
@regisd regisd deleted the examples-bazel branch October 2, 2018 08:35
@lsf37 lsf37 modified the milestones: 1.7.1, 1.8.0 Feb 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests task Process tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for Bazel
2 participants