Skip to the content.

Skylark rule for Java CUP

Attributes

Example

The example //java/jflex/examples/helloworld generates a lexer from helloworld.flex with:

cup(
    name = "gen_parser",
    src = "calculator.cup",
    parser = "CalculatorParser",
    symbols = "Calc",
)

See //java/jflex/examples/helloworld.