|
|
|
|
|
by DemocracyFTW2
576 days ago
|
|
IMHO it gets even better when you can use regular expressions and write a 'modal' parser where each mode is responsible for a certain sub-grammar, like string literals. JavaScript added the sticky flag (y) to make this even simpler. |
|