You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code generation is currently split into three components, and all of them will need adjustments to report multiple errors:
Tokenization:
EOF errors can remain as they are
non-EOF errors will need to attempt to guess what the token should have been?
Parsing:
EOF errors can remain as they are
'unexpected token' errors will need to ignore bad tokens or populate a best guess token instead (potentially looking ahead to see if the next token is the one we want)
There may be a book or guide for how to restructure this section to support these corrective fixes
Generation:
Should be the easiest, just have the existing Validate method build up errors instead of returning the first one it sees.
The text was updated successfully, but these errors were encountered:
Code generation is currently split into three components, and all of them will need adjustments to report multiple errors:
Tokenization:
Parsing:
Generation:
Validate
method build up errors instead of returning the first one it sees.The text was updated successfully, but these errors were encountered: