Skip to content

Update gearley to cfg's latest version #20

@trickster

Description

@trickster

There are a lot of changes to cfg crate, it's a good API now. This crate however, I could update it to latest version with some changes but the grammar.rs is very difficult to migrate

For example

fn populate_grammar_with_events_rhs(&mut self, grammar: &BinarizedGrammar) {
        self.events_rhs[1].extend(
            grammar.rules().map(|rule| rule.history().dot(1).event_without_tracing())

What's it's equivalent to the new cfg?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions