00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifdef HAVE_CONFIG_H
00017 #include <config.h>
00018 #endif
00019
00020 #include <stdio.h>
00021 #include <stdlib.h>
00022
00023 #include "token.h"
00024 #include "input.h"
00025 #include "output.h"
00026
00027 int main(int argc, char *argv[])
00028 {
00029 printf("InCode v0.01, (c)2002\n");
00030 printf("J. Weeks, CarbonBased\n\n");
00031
00032
00033 inputInit("/dev/stdin");
00034 outputInit("/dev/stdout");
00035 tokenInit();
00036
00037 while( inputExists() ) {
00038 tokenize();
00039
00040
00041
00042
00043
00044 }
00045
00046 printf("Closing input/output system\n");
00047 tokenClose();
00048 outputClose();
00049 inputClose();
00050
00051 return EXIT_SUCCESS;
00052 }