E501 Not supported yetΒΆ

The grammar uses a form that the language defines but fpeg does not run yet. Three forms are planned for a later release:

  • %import under a prefix, as,

  • ... in a precedence block, or for one,

  • the attribute @sync, where recovery may resume.

%import common as c
start: "a"+
%ignore " "+
grammar.fpeg:1:19: error[E501]: an import under a prefix is not supported yet

Until then, write the grammar without the form, here with the rules it takes named.

%import common (INT)
start: INT+
%ignore " "+