Patrick Lioi
Posts: 45
Nickname: plioi
Registered: Aug, 2003
|
Patrick Lioi is a software developer in Austin, Tx.
|
|
|
|
Grammar 3: Function Definitons
|
Posted: Feb 7, 2007 3:32 PM
|
|
|
This post originated from an RSS feed registered with Agile Buzz
by Patrick Lioi.
|
Original Post: Grammar 3: Function Definitons
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.
|
Latest Agile Buzz Posts
Latest Agile Buzz Posts by Patrick Lioi
Latest Posts From patrick.lioi.net
|
|
This is part of a series of articles that started with Test-Driving a Compiler.
Grammar 3 introduces functions, identifiers, and programs composed of multiple function definitions. Here’s the grammar, with changes from Grammar 2 in bold:
Program := Function*
Function := identifier '(' ParameterList ')' Expression
ParameterList := &')'
[...]
Read: Grammar 3: Function Definitons
|
|