From 469b171e5793422a4dbd27f4f2fab8a261c9ccf9 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Thu, 10 Feb 2022 03:34:29 -0400 Subject: Finishing the meta-compiler [Part 2] --- stdlib/source/experiment/compiler.lux | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 stdlib/source/experiment/compiler.lux (limited to 'stdlib/source/experiment') diff --git a/stdlib/source/experiment/compiler.lux b/stdlib/source/experiment/compiler.lux new file mode 100644 index 000000000..f17f6c499 --- /dev/null +++ b/stdlib/source/experiment/compiler.lux @@ -0,0 +1,15 @@ +(.using + [library + [lux "*" + [control + ["[0]" try]] + [tool + ["[0]" compiler {"+" Custom}]]]]) + +(def: .public (dummy parameters) + (Custom Nat [] []) + {try.#Success + [0 (function (_ input) + [compiler.#dependencies (list) + compiler.#process (function (_ state archive) + {try.#Failure "YOLO"})])]}) -- cgit v1.2.3