Skip to content
This repository was archived by the owner on Sep 20, 2021. It is now read-only.
This repository was archived by the owner on Sep 20, 2021. It is now read-only.

Multiple start-symbols support #100

@flip111

Description

@flip111

Would be great to have support for multiple start-symbols.

I guess it would not be difficult to add since the start rule is just found in the rules

$rule = $this->getRootRule();

Compiler/Llk/Parser.php

Lines 774 to 783 in de036d5

public function getRootRule()
{
foreach ($this->_rules as $rule => $_) {
if (!is_int($rule)) {
break;
}
}
return $rule;
}

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