Short: Code to evaluate algebraic strings Author: Kyzer/CSG Uploader: Kyzer/CSG Type: dev/misc evaluate.c is a piece of documented example code showing an interesting and quick algorithim for evaluating algebraic strings, such as "2 + 4" and "a=5; b=10; c=b-a; b*c". It is released under the GNU General Public License version 2 or later. Documentation is in HTML. Changes in this version - the variable table can been taken outside of the front-end - code is now library/thread safe (assuming stdlib is lib/thread safe) - memory allocator is now 64-bit clean - string extent test based on scantable Feedback and bug reports are of course welcome! ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 997 509 48.9% 19-Mar-00 04:43:18 eval.c 23635 6835 71.0% 19-Mar-00 04:43:18 evaluate.c 2183 841 61.4% 19-Mar-00 04:43:18 evaluate.h 682 417 38.8% 19-Mar-00 04:43:18 evaluate.readme 5910 2269 61.6% 31-Mar-00 16:35:08 index.html 9512 3906 58.9% 19-Mar-00 04:43:18 workings.html -------- ------- ----- --------- -------- 42919 14777 65.5% 12-May-100 01:44:18 6 files