aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/experiment
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/experiment')
-rw-r--r--stdlib/source/experiment/compiler.lux15
1 files changed, 15 insertions, 0 deletions
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"})])]})