From f27a91a7b67790272578692ea20e2d875dbb3d35 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Wed, 23 Feb 2022 05:30:53 -0400 Subject: ADDED Can pass config parameters to compiler and select code based on it. Can also select code based on compiler version. --- lux-bootstrapper/src/lux/base.clj | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'lux-bootstrapper/src') diff --git a/lux-bootstrapper/src/lux/base.clj b/lux-bootstrapper/src/lux/base.clj index 42172b836..1cc169c28 100644 --- a/lux-bootstrapper/src/lux/base.clj +++ b/lux-bootstrapper/src/lux/base.clj @@ -140,7 +140,8 @@ (deftuple ["target" "version" - "mode"]) + "mode" + "configuration"]) ;; Hosts (defvariant @@ -229,7 +230,7 @@ (def ^:const module-class-name "_") (def ^:const +name-separator+ ".") -(def ^:const ^String version "0.6.0") +(def ^:const ^String version "00.07.00") ;; Constructors (def empty-location (T ["" -1 -1])) @@ -832,7 +833,9 @@ ;; version version ;; mode - mode] + mode + ;; configuration + $End] )) (defn init-state [name mode host-data] -- cgit v1.2.3