Parse grammars in PGE
if -- "if" keyword a == 4 -- an expression then -- "then" keyword print "Hello"; -- a statement
Our general pattern for an if statement is
"if" <expression> "then" <statement>continued...
Parrot | Parrot Compiler Toolkit | #28 |
if -- "if" keyword a == 4 -- an expression then -- "then" keyword print "Hello"; -- a statement
Our general pattern for an if statement is
"if" <expression> "then" <statement>continued...
Copyright © 2008 Patrick R. Michaud http://www.pmichaud.com/2008/pres/ |