Common Lisp: Move source code to src/ folder
authorIqbal Ansari <iqbalansari02@yahoo.com>
Tue, 22 Nov 2016 11:55:16 +0000 (17:25 +0530)
committerIqbal Ansari <iqbalansari02@yahoo.com>
Tue, 22 Aug 2017 13:06:22 +0000 (18:36 +0530)
29 files changed:
common-lisp/Makefile
common-lisp/src/core.lisp [moved from common-lisp/core.lisp with 100% similarity]
common-lisp/src/env.lisp [moved from common-lisp/env.lisp with 100% similarity]
common-lisp/src/printer.lisp [moved from common-lisp/printer.lisp with 100% similarity]
common-lisp/src/reader.lisp [moved from common-lisp/reader.lisp with 100% similarity]
common-lisp/src/step0_repl.lisp [moved from common-lisp/step0_repl.lisp with 100% similarity]
common-lisp/src/step1_read_print.lisp [moved from common-lisp/step1_read_print.lisp with 100% similarity]
common-lisp/src/step2_eval.lisp [moved from common-lisp/step2_eval.lisp with 100% similarity]
common-lisp/src/step3_env.lisp [moved from common-lisp/step3_env.lisp with 100% similarity]
common-lisp/src/step4_if_fn_do.lisp [moved from common-lisp/step4_if_fn_do.lisp with 100% similarity]
common-lisp/src/step5_tco.lisp [moved from common-lisp/step5_tco.lisp with 100% similarity]
common-lisp/src/step6_file.lisp [moved from common-lisp/step6_file.lisp with 100% similarity]
common-lisp/src/step7_quote.lisp [moved from common-lisp/step7_quote.lisp with 100% similarity]
common-lisp/src/step8_macros.lisp [moved from common-lisp/step8_macros.lisp with 100% similarity]
common-lisp/src/step9_try.lisp [moved from common-lisp/step9_try.lisp with 100% similarity]
common-lisp/src/stepA_mal.lisp [moved from common-lisp/stepA_mal.lisp with 100% similarity]
common-lisp/src/types.lisp [moved from common-lisp/types.lisp with 100% similarity]
common-lisp/src/utils.lisp [moved from common-lisp/utils.lisp with 100% similarity]
common-lisp/step0_repl.asd
common-lisp/step1_read_print.asd
common-lisp/step2_eval.asd
common-lisp/step3_env.asd
common-lisp/step4_if_fn_do.asd
common-lisp/step5_tco.asd
common-lisp/step6_file.asd
common-lisp/step7_quote.asd
common-lisp/step8_macros.asd
common-lisp/step9_try.asd
common-lisp/stepA_mal.asd

index 9d62070..d6d8437 100644 (file)
@@ -12,8 +12,8 @@ define steps
 endef
 
 ROOT_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
-SOURCES_LISP := env.lisp core.lisp stepA_mal.lisp
-SOURCES := utils.lisp types.lisp reader.lisp printer.lisp $(SOURCES_LISP)
+SOURCES_LISP := src/env.lisp src/core.lisp src/stepA_mal.lisp
+SOURCES := src/utils.lisp src/types.lisp src/reader.lisp src/printer.lisp $(SOURCES_LISP)
 LISP ?= sbcl
 ABCL ?= abcl
 
@@ -33,7 +33,7 @@ hist/%_impl: ;
 # directory of the CL_LAUNCH_FILE in --wrap script so that the script can find the dumped
 # image even if invoked from some directory different from where it
 # currently resides
-step% : step%.lisp utils.lisp types.lisp env.lisp printer.lisp reader.lisp core.lisp hist/%_impl
+step% : src/step%.lisp src/utils.lisp src/types.lisp src/env.lisp src/printer.lisp src/reader.lisp src/core.lisp hist/%_impl
 ifeq ($(LISP),abcl)
        echo -n '#!/bin/sh\ncd `dirname $$0` ; $(ABCL) --noinform --noinit --nosystem --load run-abcl.lisp -- $@ $$@' > $@
        chmod +x $@
index aee96e8..fbad7d6 100644 (file)
@@ -19,4 +19,5 @@
   :description "Implementation of step 0 of MAL in Common Lisp"
   :serial t
   :components ((:file "step0_repl"))
-  :depends-on (:uiop :cl-readline))
+  :depends-on (:uiop :cl-readline)
+  :pathname "src/")
index 993b77d..ea7134f 100644 (file)
@@ -25,4 +25,5 @@
                (:file "reader")
                (:file "printer")
                (:file "step1_read_print"))
-  :depends-on (:uiop :cl-readline :cl-ppcre :genhash))
+  :depends-on (:uiop :cl-readline :cl-ppcre :genhash)
+  :pathname "src/")
index 2b0b3c5..06b1b80 100644 (file)
@@ -26,4 +26,5 @@
                (:file "reader")
                (:file "printer")
                (:file "step2_eval"))
-  :depends-on (:uiop :cl-readline :cl-ppcre :genhash))
+  :depends-on (:uiop :cl-readline :cl-ppcre :genhash)
+  :pathname "src/")
index 3dc014a..5120a3c 100644 (file)
@@ -26,4 +26,5 @@
                (:file "reader")
                (:file "printer")
                (:file "step3_env"))
-  :depends-on (:uiop :cl-readline :cl-ppcre :genhash))
+  :depends-on (:uiop :cl-readline :cl-ppcre :genhash)
+  :pathname "src/")
index efddd5e..902f99a 100644 (file)
@@ -27,4 +27,5 @@
                (:file "printer")
                (:file "core")
                (:file "step4_if_fn_do"))
-  :depends-on (:uiop :cl-readline :cl-ppcre :genhash))
+  :depends-on (:uiop :cl-readline :cl-ppcre :genhash)
+  :pathname "src/")
index bdc4209..08ebfad 100644 (file)
@@ -27,4 +27,5 @@
                (:file "printer")
                (:file "core")
                (:file "step5_tco"))
-  :depends-on (:uiop :cl-readline :cl-ppcre :genhash))
+  :depends-on (:uiop :cl-readline :cl-ppcre :genhash)
+  :pathname "src/")
index 35bc77f..f8937b2 100644 (file)
@@ -27,4 +27,5 @@
                (:file "printer")
                (:file "core")
                (:file "step6_file"))
-  :depends-on (:uiop :cl-readline :cl-ppcre :genhash))
+  :depends-on (:uiop :cl-readline :cl-ppcre :genhash)
+  :pathname "src/")
index efa0269..73df642 100644 (file)
@@ -27,4 +27,5 @@
                (:file "printer")
                (:file "core")
                (:file "step7_quote"))
-  :depends-on (:uiop :cl-readline :cl-ppcre :genhash))
+  :depends-on (:uiop :cl-readline :cl-ppcre :genhash)
+  :pathname "src/")
index 64d2f97..e0b4c41 100644 (file)
@@ -27,4 +27,5 @@
                (:file "printer")
                (:file "core")
                (:file "step8_macros"))
-  :depends-on (:uiop :cl-readline :cl-ppcre :genhash))
+  :depends-on (:uiop :cl-readline :cl-ppcre :genhash)
+  :pathname "src/")
index 84e0ef0..b1ea4a0 100644 (file)
@@ -27,4 +27,5 @@
                (:file "printer")
                (:file "core")
                (:file "step9_try"))
-  :depends-on (:uiop :cl-readline :cl-ppcre :genhash))
+  :depends-on (:uiop :cl-readline :cl-ppcre :genhash)
+  :pathname "src/")
index 63efad1..b9aca81 100644 (file)
@@ -27,4 +27,5 @@
                (:file "printer")
                (:file "core")
                (:file "stepA_mal"))
-  :depends-on (:uiop :cl-readline :cl-ppcre :genhash))
+  :depends-on (:uiop :cl-readline :cl-ppcre :genhash)
+  :pathname "src/")