"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "runnerline_impl.h" between
blassic-0.10.3.tgz and blassic-0.11.0.tgz

About: Blassic is a classic Basic interpreter.

runnerline_impl.h  (blassic-0.10.3.tgz):runnerline_impl.h  (blassic-0.11.0.tgz)
#ifndef INCLUDE_BLASSIC_RUNNERLINE_IMPL_H #ifndef INCLUDE_BLASSIC_RUNNERLINE_IMPL_H
#define INCLUDE_BLASSIC_RUNNERLINE_IMPL_H #define INCLUDE_BLASSIC_RUNNERLINE_IMPL_H
// runnerline_impl.h // runnerline_impl.h
// Revision 23-jan-2005 // Revision 23-may-2006
#include "runnerline.h" #include "runnerline.h"
#include "blassic.h" #include "blassic.h"
#include "error.h" #include "error.h"
#include "result.h" #include "result.h"
#include "codeline.h" #include "codeline.h"
#include "file.h" #include "file.h"
#include "function.h" #include "function.h"
#include "vartype.h"
#include "var.h" #include "var.h"
#include <list> #include <list>
#include <algorithm> #include <algorithm>
class Runner; class Runner;
class Program; class Program;
class LocalLevel; class LocalLevel;
class Directory; class Directory;
skipping to change at line 206 skipping to change at line 207
void expecttoken (BlCode code) throw (BlErrNo); void expecttoken (BlCode code) throw (BlErrNo);
#endif #endif
BlNumber evalnum (); BlNumber evalnum ();
BlNumber expectnum (); BlNumber expectnum ();
BlInteger evalinteger (); BlInteger evalinteger ();
BlInteger expectinteger (); BlInteger expectinteger ();
std::string evalstring (); std::string evalstring ();
std::string expectstring (); std::string expectstring ();
void expect_number (BlNumber & n);
void expect_integer (BlInteger & i);
void expect_string (std::string & s);
BlChannel evalchannel (); BlChannel evalchannel ();
BlChannel expectchannel (); BlChannel expectchannel ();
BlChannel evaloptionalchannel (BlChannel defchan= DefaultChannel); BlChannel evaloptionalchannel (BlChannel defchan= DefaultChannel);
BlChannel expectoptionalchannel (BlChannel defchan= DefaultChannel); BlChannel expectoptionalchannel (BlChannel defchan= DefaultChannel);
BlChannel evalrequiredchannel (); BlChannel evalrequiredchannel ();
BlChannel expectrequiredchannel (); BlChannel expectrequiredchannel ();
void parenarg (BlResult & result); void parenarg (BlResult & result);
void getparenarg (BlResult & result); void getparenarg (BlResult & result);
void getparenarg (BlResult & result, BlResult & result2); void getparenarg (BlResult & result, BlResult & result2);
skipping to change at line 349 skipping to change at line 354
void val_LABEL (BlResult & result); void val_LABEL (BlResult & result);
void val_IDENTIFIER (BlResult & result); void val_IDENTIFIER (BlResult & result);
void val_NUMBER (BlResult & result); void val_NUMBER (BlResult & result);
void val_STRING (BlResult & result); void val_STRING (BlResult & result);
void val_INTEGER (BlResult & result); void val_INTEGER (BlResult & result);
void val_OpenPar (BlResult & result); void val_OpenPar (BlResult & result);
public: public:
void callfn (Function & f, const std::string & fname, void callfn (Function & f, const std::string & fname,
LocalLevel & ll, BlResult & result); LocalLevel & ll, BlResult & result);
void callproc (Procedure & f, const std::string & fname,
LocalLevel & ll);
private: private:
void val_FN (BlResult & result); void val_FN (BlResult & result);
void valsubindex (const std::string & varname, BlResult & result); void valsubindex (const std::string & varname, BlResult & result);
void valbase (BlResult & result); void valbase (BlResult & result);
//void valparen (BlResult & result); //void valparen (BlResult & result);
void slice (BlResult & result); void slice (BlResult & result);
void valexponent (BlResult & result); void valexponent (BlResult & result);
skipping to change at line 380 skipping to change at line 387
std::string::size_type evalstringindex (); std::string::size_type evalstringindex ();
void evalstringslice (const std::string & str, void evalstringslice (const std::string & str,
std::string::size_type & from, std::string::size_type & to); std::string::size_type & from, std::string::size_type & to);
void assignslice (VarPointer & vp, const BlResult & result); void assignslice (VarPointer & vp, const BlResult & result);
VarPointer evalvarpointer (); VarPointer evalvarpointer ();
typedef std::list <VarPointer> ListVarPointer; typedef std::list <VarPointer> ListVarPointer;
void evalmultivarpointer (ListVarPointer & lvp); void evalmultivarpointer (ListVarPointer & lvp);
VarPointer eval_let (); VarPointer eval_let ();
void eval_assign_array (const std::string & varname);
void eval_assign_var (const std::string & varname, BlResult & result);
void eval_assign (BlResult & result);
BlLineNumber evallinenumber (); BlLineNumber evallinenumber ();
void evallinerange (BlLineNumber & blnBeg, BlLineNumber & blnEnd); void evallinerange (BlLineNumber & blnBeg, BlLineNumber & blnEnd);
Dimension getdims (); Dimension getdims ();
Dimension evaldims (); Dimension evaldims ();
Dimension expectdims (); Dimension expectdims ();
void errorifparam (); void errorifparam ();
void gosub_line (BlLineNumber dest); void gosub_line (BlLineNumber dest);
void getinkparams (); void getinkparams ();
void getdrawargs (BlInteger & y); void getdrawargs (BlInteger & y);
void getdrawargs (BlInteger & x, BlInteger & y); void getdrawargs (BlInteger & x, BlInteger & y);
void make_clear (); void make_clear ();
void print_using (blassic::file::BlFile & out); void print_using (blassic::file::BlFile & out);
void letsubindex (const std::string &varname); void letsubindex (const std::string &varname);
void do_line_input (); void do_line_input ();
void do_get_image (); void do_get_image ();
void do_put_image (); void do_put_image ();
void definevars (VarType type); void do_get_channel ();
void do_put_channel ();
void do_get_var ();
void definevars (blassic::vartype::VarType type);
void do_graphics_pen (); void do_graphics_pen ();
void do_graphics_paper (); void do_graphics_paper ();
void do_graphics_cls (); void do_graphics_cls ();
void do_graphics_scroll ();
void get_def_parameters (ParameterList & param);
bool def_skip_body (BlCode typebody);
bool do_def_fn (); bool do_def_fn ();
bool do_def_proc ();
bool do_proc_exec ();
void do_list (BlChannel nfile); void do_list (BlChannel nfile);
bool do_Colon (); bool do_Colon ();
bool do_ENDLINE (); bool do_ENDLINE ();
bool do_INTEGER (); bool do_INTEGER ();
bool do_NUMBER (); bool do_NUMBER ();
bool do_END (); bool do_END ();
bool do_LIST (); bool do_LIST ();
bool do_LLIST (); bool do_LLIST ();
bool do_REM (); bool do_REM ();
skipping to change at line 474 skipping to change at line 495
bool do_DELETE (); bool do_DELETE ();
bool do_LOCAL (); bool do_LOCAL ();
bool do_PUT (); bool do_PUT ();
bool do_FIELD (); bool do_FIELD ();
bool do_LSET (); bool do_LSET ();
bool do_SOCKET (); bool do_SOCKET ();
bool do_MID_S (); bool do_MID_S ();
bool do_DRAW (); bool do_DRAW ();
bool do_DEF (); bool do_DEF ();
bool do_FN (); bool do_FN ();
bool do_PROC ();
bool do_PROGRAMARG_S (); bool do_PROGRAMARG_S ();
bool do_ERASE (); bool do_ERASE ();
bool do_SWAP (); bool do_SWAP ();
bool do_SYMBOL (); bool do_SYMBOL ();
bool do_ZONE (); bool do_ZONE ();
bool do_POP (); bool do_POP ();
bool do_NAME (); bool do_NAME ();
bool do_KILL (); bool do_KILL ();
bool do_FILES (); bool do_FILES ();
bool do_PAPER (); bool do_PAPER ();
skipping to change at line 524 skipping to change at line 546
bool do_WIDTH (); bool do_WIDTH ();
bool do_BRIGHT (); bool do_BRIGHT ();
bool do_PLEASE (); bool do_PLEASE ();
bool do_DRAWARC (); bool do_DRAWARC ();
bool do_PULL (); bool do_PULL ();
bool do_PAINT (); bool do_PAINT ();
bool do_FREE_MEMORY (); bool do_FREE_MEMORY ();
bool do_SCROLL (); bool do_SCROLL ();
bool do_ZX_PLOT (); bool do_ZX_PLOT ();
bool do_ZX_UNPLOT (); bool do_ZX_UNPLOT ();
bool do_OPTION ();
bool do_MAT ();
bool do_BORDER ();
bool do_SCREEN ();
bool do_ELSE (); bool do_ELSE ();
}; };
#endif #endif
// End of runnerline_impl.h // End of runnerline_impl.h
 End of changes. 10 change blocks. 
2 lines changed or deleted 28 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)