Intuiting Pratt Parsing

You already know that a + b * c + d is calculated as a + (b * c) + d. But how do you encode that knowledge precisely enough for a machine to act on it?
141 points by signa11 205 days ago louis.co.nz 45 comments
Summary not yet generated for this article.

Comments (45 of ) ⌛

Loading more comments... ⌛
Scroll down to load more comments
No comments available.
Type to search HN and engineering blog articles
Press Escape to close  |  ↑↓ to navigate  |  Enter to open