Skip to content

GOLD grammar - terminal with sequence #36

@tf3pm

Description

@tf3pm

Again similar definition of GOLD grammar terminal:
Identifier = {Letter}{Digit}+
is transformed to SequenceParser with not null Separator.
Thus input "a 1" matches this terminal.

In code GoldGrammar.cs - line 218 - for every sequences (RegExp included) is Separator defined:
var seq = new SequenceParser(parsers) { Separator = sep };

Thanks,
Tomas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions