Compiler/syntax analyzer: Difference between revisions

J: lex Putc becomes Prtc in syntax analyzer (see talk page)
m (J: discard redundant ndRef)
(J: lex Putc becomes Prtc in syntax analyzer (see talk page))
Line 3,324:
Sequence Multiply Divide Mod Add Subtract Negate Less LessEqual Greater
GreaterEqual Equal NotEqual Not And Or Prts Assign Prti x If x x x While
x x PutcPrtc x Identifier String Integer
}}-.LF
NB. proofread |:tkref,:ndDisp
Line 3,363:
case.Keyword_putc do.
e=. paren_expr gettok''
t=. PutcPrtc make_node e a:
PutcPrtc expect Semicolon
case.Keyword_print do.gettok''
'Print' expect LeftParen
Line 3,460:
case.do.assert.0
end.
}}</lang>
</lang>
 
Some quirks worth noting:
6,951

edits