Little fix after the last commit (mostly a git fail)
[eigenmath-fx.git] / main.cpp
blobec3935a9677615ba21c89d6d79531b985ef3afa8
1 /* Eigenmath by G. Weigt
3 The starting point for a symbolic computation is in run.cpp
5 Input is scanned in scan.cpp
7 Expression evaluation is done in eval.cpp
9 Output is formatted in display.cpp
12 #include "defs.h"
13 #include "console.h"
15 void
16 clear_term()
20 extern void eval_print(void);
22 void
23 eval_display(void)
25 eval_print();
28 void
29 printstr(char *s)
31 Console_Output((const unsigned char *)s);
34 extern int test_flag;
36 #define OUTBUFLEN 10000
37 int out_count;
39 void
40 printchar(int c)
42 unsigned char tmp[2];
43 tmp[0] = (unsigned char)c;
44 tmp[1] = (unsigned char)'\0';
45 Console_Output(tmp);
48 void
49 printchar_nowrap(int c)
51 printchar(c);
54 void
55 eval_draw(void)
57 push(symbol(NIL));
60 void
61 eval_sample(void)