aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/synthesis.lux
diff options
context:
space:
mode:
Diffstat (limited to 'new-luxc/source/luxc/lang/synthesis.lux')
-rw-r--r--new-luxc/source/luxc/lang/synthesis.lux21
1 files changed, 21 insertions, 0 deletions
diff --git a/new-luxc/source/luxc/lang/synthesis.lux b/new-luxc/source/luxc/lang/synthesis.lux
new file mode 100644
index 000000000..00cccfbe6
--- /dev/null
+++ b/new-luxc/source/luxc/lang/synthesis.lux
@@ -0,0 +1,21 @@
+(;module:
+ lux
+ (.. ["lp" pattern]))
+
+(type: #export #rec Synthesis
+ #Unit
+ (#Bool Bool)
+ (#Nat Nat)
+ (#Int Int)
+ (#Deg Deg)
+ (#Real Real)
+ (#Char Char)
+ (#Text Text)
+ (#Variant Nat Bool Synthesis)
+ (#Tuple (List Synthesis))
+ (#Case (lp;Pattern Synthesis))
+ (#Function Scope Synthesis)
+ (#Call Synthesis (List Synthesis))
+ (#Procedure Text (List Synthesis))
+ (#Relative Ref)
+ (#Absolute Ident))