Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

shift reduce parser demo

0)	$S:	stmt <EOF> 
1)	stmt:	ID 'x' expr 
2)	expr:	expr '+' ID 
3)	expr:	expr '-' ID 
4)	expr:	ID 
Source by www.cs.binghamton.edu #
 
PREVIOUS NEXT
Tagged: #shift #reduce #parser #demo
ADD COMMENT
Topic
Name
8+6 =