fix commas before closing parentheses
This commit is contained in:
parent
afd7f38958
commit
b4927261db
4 changed files with 5 additions and 5 deletions
|
@ -509,7 +509,7 @@ scripts = ["treehouse/vendor/codejar.js", "treehouse/components/literate-program
|
|||
|
||||
% id = "01J3K8A0D14VZTKBPJTG3BGD0M"
|
||||
- there's also a performance boost from implementing it this way: _lazy_ parsing, as I like to call it, allows us to defer most of the parsing work until it's actually needed.
|
||||
if the token never ends up being needed (e.g. due to a syntax error,) we don't end up doing extra work eagerly!
|
||||
if the token never ends up being needed (e.g. due to a syntax error), we don't end up doing extra work eagerly!
|
||||
|
||||
% id = "01J3K8A0D1GYZ9Y9MK6K24JME7"
|
||||
- if that doesn't convince you, consider that now all your tokens are the exact same data structure, and you can pack them neatly into a flat array.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue