This post originated from an RSS feed registered with Agile Buzz
by Patrick Lioi.
Original Post: Grammar 4: Statements & Function Calls
Feed Title: patrick.lioi.net
Feed URL: http://patrick.lioi.net/feed/
Feed Description: This feed mainly follows my attempt to grow an interpreter/compiler while learning TDD.
This is part of a series of articles that started with Test-Driving a Compiler.
Grammar 3 introduced function definitions. Since then, I’ve introduced some unary operators, statements, and function call expressions. First, I added the unary-minus and unary-not operators with a higher priority than multiplication, using tests to confirm the basic parsing routines as [...]