antlr4rust icon indicating copy to clipboard operation
antlr4rust copied to clipboard

ANTLR4 parser generator runtime for Rust programming laguage

Results 33 antlr4rust issues
Sort by recently updated
recently updated
newest added

g4 file: ``` grammar CSV; csvFile: hdr row+ ; hdr : row ; row : field (',' field)* '\r'? '\n' ; field : TEXT | STRING | ; TEXT :...

Grammar taken from here: https://github.com/HL7/fhirpath.js/blob/master/src/parser/FHIRPath.g4 Parsed like: ```rust #![feature(try_blocks)] #[macro_use] extern crate lazy_static; mod parser; use antlr_rust::common_token_stream::CommonTokenStream; use antlr_rust::input_stream::InputStream; use antlr_rust::parser_rule_context::ParserRuleContext; use antlr_rust::tree::{ErrorNode, ParseTreeListener, TerminalNode}; use parser::fhirpathlexer::FHIRPathLexer; use parser::fhirpathlistener::FHIRPathListener; use...

I tried updating dependencies in a cargo project and ran into an issue with a transitive dependency on `once_cell = "1.2.*"`. Assuming `once_cell` correclty follows semantic versioning, the newer version...

Hello. I've tried to build the official antlr4 gramamr for `sql/plsql` which gives a successful build but fails on comple I've used the release for 0.3-beta generator tool: The Rust...

Since uuid >= 1.0 exists now it would be nice to make the uuid version a little more versatile. The proposed change fixes uuid version mismatches when using this crate...

fix #52 If you want to lean more about this issue check : https://stackoverflow.com/a/1032653 From git version 1.8.3 to the latest version. `git submodule update --init --recursive` will not check...

I encountered this issue while implementing `grammarVisitorCompat` using antlr-rust v0.3.0-beta. Consider the following grammar: ```antlr grammar all_test; list: GET VAR_ ( ',' VAR_ )* ; GET: 'get'; VAR_: '$' [a-zA-Z0-9][a-zA-Z0-9_-]*...