Stream: implementers
Topic: ANTLR tool error on FHIRPath
Eric Haas (Jun 27 2018 at 00:07):
warning(156): /Users/ehaas/Documents/testing/FHIRPath/fhirpath.g4:144:23: invalid escape sequence \'
assuming it means the line 144 character 23
143 STRING 144 : '\'' (ESC | ~[\'])* '\'' 145 ;
Grahame Grieve (Jun 27 2018 at 04:14):
@Bryn Rhodes ?
Bryn Rhodes (Jun 27 2018 at 08:17):
That's the currently published definition of STRING, which was changed for the ballot. What is giving you that error?
Eric Haas (Jun 27 2018 at 16:51):
I downloaded ANTLR 4.7.1 yesterday and gave it a whirl.
antlr4 -Dlanguage=Python3 FHIRPath.g4
I screen-scraped the FHIRPath syntax to a text file in order to make a g4 file. maybe thats the problem.
Grahame Grieve (Jun 27 2018 at 19:59):
yes that will be a problem
Eric Haas (Jun 27 2018 at 20:31):
where is the download, I only saw the html listed?
Grahame Grieve (Jun 28 2018 at 04:09):
it's not ;-)
Grahame Grieve (Jun 28 2018 at 04:10):
Last updated: Apr 12 2022 at 19:14 UTC