SBI: The Small Basic Interpreter

By Steve Reichenthal and Tom Bennett

Dr. Dobb's Journal June 1997

(a) Sub Execute(Controller As _    SbiController)

(b) Property Get OpPrec() As _    Integer

(c) Property Let InvokeType(    Expr As SbiExpr, _    NewValue As Integer)

(d) Property Get LineNum() _    As Integer

Example 1: (a) Implementing executable objects; (b) implementing monadic and dyadic operators in expressions; (c) implementing factors in expressions; (d) descendants of the SbiStmt class.

Back to Article


Copyright © 1997, Dr. Dobb's Journal