changed file extension to .carp for the lisp files

This commit is contained in:
Erik 2016-01-15 10:17:26 +01:00
parent d2c73edb44
commit f59f221981
17 changed files with 12 additions and 13 deletions

1
.gitignore vendored
View File

@ -1,7 +1,6 @@
/bin/carp-repl
*.dSYM
/gl-constants/gl_constants.o
/gl-constants/gl_constants.so
/out/*.c
/out/*.so
/src/*.o

BIN
gl-constants/gl_constants.so Executable file

Binary file not shown.

View File

@ -1,9 +1,9 @@
(def carp-dir (getenv "CARP_DIR"))
(load-lisp (str carp-dir "lisp/core.lisp"))
(load-lisp (str carp-dir "lisp/core_tests.lisp"))
(load-lisp (str carp-dir "lisp/compiler.lisp"))
(load-lisp (str carp-dir "lisp/compiler_tests.lisp"))
(load-lisp (str carp-dir "lisp/examples.lisp"))
(load-lisp (str carp-dir "lisp/core.carp"))
(load-lisp (str carp-dir "lisp/core_tests.carp"))
(load-lisp (str carp-dir "lisp/compiler.carp"))
(load-lisp (str carp-dir "lisp/compiler_tests.carp"))
(load-lisp (str carp-dir "lisp/examples.carp"))
(load-lisp (str carp-dir "lisp/glfw_test.lisp"))
(load-lisp (str carp-dir "lisp/glfw_test.carp"))

View File

@ -11,12 +11,12 @@
;; 6. Make the C generator spit out beautiful C for the AST node
;; 7. Profit!
(load-lisp (str carp-dir "lisp/compiler_helpers.lisp"))
(load-lisp (str carp-dir "lisp/ast.lisp"))
(load-lisp (str carp-dir "lisp/infer_types.lisp"))
(load-lisp (str carp-dir "lisp/generate_names.lisp"))
(load-lisp (str carp-dir "lisp/calculate_lifetimes.lisp"))
(load-lisp (str carp-dir "lisp/builder.lisp"))
(load-lisp (str carp-dir "lisp/compiler_helpers.carp"))
(load-lisp (str carp-dir "lisp/ast.carp"))
(load-lisp (str carp-dir "lisp/infer_types.carp"))
(load-lisp (str carp-dir "lisp/generate_names.carp"))
(load-lisp (str carp-dir "lisp/calculate_lifetimes.carp"))
(load-lisp (str carp-dir "lisp/builder.carp"))
(defn annotate-ast (ast)
(let [ast-typed (infer-types ast)