4 ms·
> Parser in JS Insteresting ! Would you mind sharing how you did ?
by alcover 6y ago
> Parser in JS
Insteresting ! Would you mind sharing how you did ?
- galaxyLogic 6y agoThe basic idea is that a generator yields one potential parse of a section of input-string. The caller continues checking the rest of the string but if it fails to find all expected syntactic elements it will go back to the generator basically asking it: Your previous suggestion did not work out, can you give me another possibility?