選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
 
 

33 行
710 B

  1. #define _CRT_SECURE_NO_DEPRECATE
  2. #include <stdio.h>
  3. #include <string.h>
  4. #include <stdlib.h>
  5. #include <stdarg.h> /* needed for va_list */
  6. #include <math.h>
  7. #include "./helpers.c"
  8. #include "./ast.c"
  9. #include "./error.c"
  10. #include "./io.c"
  11. #include "./assert.c"
  12. #include "./parse.c"
  13. #include "./built_ins.c"
  14. #include "./env.c"
  15. #include "./eval.c"
  16. #include "./testing.c"
  17. int main (int argc, char *argv[]) {
  18. /* if (argc > 1) { */
  19. /* char* fileContent = read_entire_file(argv[1]); */
  20. /* if (fileContent) { */
  21. /* printf("File: %s\n", fileContent); */
  22. /* } */
  23. /* } else { */
  24. /* printf("No source provided.\n"); */
  25. /* } */
  26. run_all_tests();
  27. return 0;
  28. }