超强大、好用的Pascal语言解释器:RemObjects Pascal scr ipt,支持以下特性: Pascal scr ipt is a widely-used set of components for Delphi that makes it easy to add Pascal-based scr ipting support to your applications, so that they can extend or control your application wit
"程序语言"这门课的课程实验。 给一个自定义语法的语言写一个解释器(Interpreter),首先写了Parser,然后存入剖析树(Parse Tree)对象中,最后根据Parse Tree的结构执行程序,计算出结果。 语法如下: ::= program (1) begin end ::= | (2) ::= | (3) ::= int ; (4) ::= | , (5) ::= |||| (6) ::= = ; (7) ::= if then e