Situation: someone needs help with a Grammar with a bug.
Expected: they are able to copy/paste the Share link.
Actual: share link does not update if there are grammar errors.
The solution is just to decouple grammar error detection from the Share link and catch those errors while ensuring share link always works.
// Cell Parsers
nameCell
description A person's name
highlightScope string
keyworddCell
highlightScope keyword
// Line Parsers
newlangParser
root
description This is the basic root node for your new prefix Tree Language.
catchAllParser catchAllErrorParser
inScope helloParser
helloParser
catchAllCellType nameCell
cells keywordCell
crux hello
catchAllErrorParser
baseParser errorParser
Situation: someone needs help with a Grammar with a bug.
Expected: they are able to copy/paste the Share link.
Actual: share link does not update if there are grammar errors.
The solution is just to decouple grammar error detection from the Share link and catch those errors while ensuring share link always works.