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
{{ message }}
This repository was archived by the owner on Apr 4, 2025. It is now read-only.
Decorate $parse and use regexes to do naive checks on expressions.
Ideal solution
Regexes aren't powerful enough. Instead, we should replace the implementation of $parse with our own implementation that both logs helpful information and also does proper parsing. This is challenging because we'd possibly have to support a debug version of $parse for each version of Angular to ensure that we preserve existing behavior.
The text was updated successfully, but these errors were encountered:
Problem
Parsers are hard.
Current solution
Decorate
$parse
and use regexes to do naive checks on expressions.Ideal solution
Regexes aren't powerful enough. Instead, we should replace the implementation of
$parse
with our own implementation that both logs helpful information and also does proper parsing. This is challenging because we'd possibly have to support a debug version of$parse
for each version of Angular to ensure that we preserve existing behavior.The text was updated successfully, but these errors were encountered: