I don't understand why text editors are adopting bizarre TextMate grammars specs for syntax highlighting. All they had to do was support BNF grammars with optional mappings from productions to syntax categories and error resumption hints. https://macromates.com/manual/en/language_grammars …
-
-
But these regular expressions can’t cross line boundaries, so begin/end blocks track a primitive stack of state across lines, with fast incremental recomputation. The whole point being to syntax highlight code decently in the presence of syntax errors.
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.