|
- #define _CRT_SECURE_NO_DEPRECATE
- #include <stdio.h>
- #include <string.h>
- #include <stdlib.h>
- #include <stdarg.h> /* needed for va_list */
- #include <math.h>
-
- #include "./helpers.c"
- #include "./ast.c"
- #include "./error.c"
- #include "./io.c"
- #include "./assert.c"
- #include "./parse.c"
- #include "./built_ins.c"
- #include "./env.c"
- #include "./eval.c"
- #include "./testing.c"
-
- int main (int argc, char *argv[]) {
- /* if (argc > 1) { */
- /* char* fileContent = read_entire_file(argv[1]); */
- /* if (fileContent) { */
- /* printf("File: %s\n", fileContent); */
- /* } */
- /* } else { */
- /* printf("No source provided.\n"); */
- /* } */
-
- run_all_tests();
-
- return 0;
- }
|