// Laptev Eugene's (ztv@imp.kiev.ua) // Fast Expression Evaluator. // // // Message-Id: <35D7EAF6.9395E082@imp.kiev.ua> // Date: Mon, 17 Aug 1998 09:33:58 +0100 // From: Eugene Laptev // Organization: IMP // X-Mailer: Mozilla 4.05 [en] (WinNT; I) // Mime-Version: 1.0 // To: Rob Salgado // Subject: Re: EE source // // // Hello, Rob Salgado! // // // Here the source code. // Use it in whatever programs you want. // It is not fully readable. But the sense was to convert // mathematical expression from infix to postfix form. // // // Sincerely, // _____________________________________ // Eugene Laptev mailto: ztv@imp.kiev.ua #define EE_OK 0 #define EE_SYNTAXERROR 1 #define EE_UNPAIRED 2 #define EE_UNKNOWNFUNCTION 3 #define EE_UNKNOWNARGUMENT 4 #define EE_WRONGARGUMENTS 5 #define EE_SMALLBUFFER 6 #define EE_PARTIAL 7 #define EE_UNUSEABLE 8 int MakeImage(void *image, int size, const char *formula, char *errorstring, int *errorposition, const char* argnames); int Value(const void *image, double *presult, char *errorstring, int numberofarguments,...); /// int ValueFromArgarray(const void *image, double *presult, char *errorstring, int numberofarguments, double argarray[]); int Simplify(void *image, char *errorstring);