broadcast icmp jiqiao multi_broad raw sys_net_ml tcp1 term thread udp cap io mul_thread_download qq sem tcp tcp_dos testerr time wav ./broadcast: broad.h client.c server server.c ./cap: capture_ packet capture_packet.c ./icmp: icmp.c ./io: aa ba con
"程序语言"这门课的课程实验。 给一个自定义语法的语言写一个解释器(Interpreter),首先写了Parser,然后存入剖析树(Parse Tree)对象中,最后根据Parse Tree的结构执行程序,计算出结果。 语法如下: ::= program (1) begin end ::= | (2) ::= | (3) ::= int ; (4) ::= | , (5) ::= |||| (6) ::= = ; (7) ::= if then e