Daniel63656

Results 12 comments of Daniel63656

I have the same problem. Do you know if this is true for all files?

Will it be possible to access all classes? In the 3.0 version Beams or Octavation lines are not exposed to the API for example

I am a bit confused about this incremental parsing. I want to feed it one token at a time but it requires a Token class that also has a type....

Yes but I don't know the type. I just want to add tokens (values) one at a time. I thought at first type has something to do with the rules...

I'm sorry I am new to this. I have following grammar: score: "bos" event "eos" event: E meta* ottava? group+ "|"? group: rest | chord | "grace" chord rest: R...

> Not sure what you mean. Are you sure you are using the terms nonterminal and terminal correctly? I am not sure. From the json_tutorial: rule_name : list of rules...

>You defined a name for the nonterminal, not for the terminal. You need to define a name for the terminal, in uppercase. Ah because I wrote it in lowercase? I...

After searching the source code for a while I figured it is probably easiest to do this myself: ``` import re class DynamicLexer: def __init__(self, terminals): self.terminals = [(terminal.name, terminal.pattern.to_regexp())...

I am completely clueless on how this would work unfortunately. Are there any updates on the matter?