home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ruby164.zip
/
rbemx164.zip
/
ruby
/
share
/
doc
/
racc-1.3.9
/
sample
/
syntax.y
< prev
next >
Wrap
Text File
|
2001-04-07
|
627b
|
50 lines
#
# racc syntax checker (does not work. use for check only)
#
class P
token A B C
convert
A '5'
end
prechigh
left B
preclow
options omit_action_call
start target
rule
target: A B C
{
print 'abc'
}
| B C A
| C B A
{
print 'cba'
}
| cont
cont : A c2 B c2 C
c2 : C C C C C
end
---- inner
junk code !!!!
kjaljlajrlaolanbla /// %%% (*((( token rule
akiurtlajluealjflaj @@@@ end end end end __END__
laieu2o879urkq96ga(Q#*&%Q#
#&lkji END
q395q?/// liutjqlkr7