Skip to content

Make the crate include the tool jar ? #3

Description

@alexsnaps

From this thread

  • Build a .jar for your tool and put it in a crate with a specific version.

  • Write templates for Rust parser for trgen. The .toml file for testing would need to reference specific crates for the runtime and tool.

  • For testing:

    • Run trgen to instantiate a Rust driver parse app from templates.

    • Build:

      • Load crates.
      • Use sed/awk/Powershell/whatever to grab the version of the runtime tool from the .toml file. Just use "find . -name '*.jar'` to find the loaded Antlr Tool .jar.
      • Run java -jar with the appropriate .jar.
      • Proceed with a Rust compilation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions