Working on parsers: Fun Working on JS parsers: Not fun
-
-
Also I hate parser generators so I've bought this on my self
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
My advice is to do one pre-pass through the text, and remove much of the context dependent logic. We had to do some similar tricks on Reason which has similar syntax, but it was especially important because we were using actual grammar based parser generators which are very picky
-
For example, getting the boundaries of the start and end of arrow functions, so that you immediately know that the left paren belongs to an arrow function when it is encountered.
End of conversation
New conversation -
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.
he/him 