FHIR Chat · ANTLR tool error on FHIRPath · implementers

Stream: implementers

Topic: ANTLR tool error on FHIRPath


view this post on Zulip 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          ;

view this post on Zulip Grahame Grieve (Jun 27 2018 at 04:14):

@Bryn Rhodes ?

view this post on Zulip 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?

view this post on Zulip 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.

view this post on Zulip Grahame Grieve (Jun 27 2018 at 19:59):

yes that will be a problem

view this post on Zulip Eric Haas (Jun 27 2018 at 20:31):

where is the download, I only saw the html listed?

view this post on Zulip Grahame Grieve (Jun 28 2018 at 04:09):

it's not ;-)

view this post on Zulip Grahame Grieve (Jun 28 2018 at 04:10):

fhirpath.g4


Last updated: Apr 12 2022 at 19:14 UTC