#ifndef SCRIPT_ENGINE_H #define SCRIPT_ENGINE_H #include "number.h" #include #include #include namespace Bu { class Stream; } class Expression; class ScriptEngine { public: ScriptEngine(); virtual ~ScriptEngine(); Number exec( const Bu::String &sExpr ); Number exec( Bu::Stream &sInput ); Number exec( Expression *pExpr ); private: typedef Bu::Hash VarHash; typedef Bu::List NumStack; VarHash hVarState; }; #endif