summaryrefslogtreecommitdiff
path: root/devel/compiler/Tgt.cf
diff options
context:
space:
mode:
Diffstat (limited to 'devel/compiler/Tgt.cf')
-rw-r--r--devel/compiler/Tgt.cf16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/compiler/Tgt.cf b/devel/compiler/Tgt.cf
new file mode 100644
index 000000000..a61c0bf74
--- /dev/null
+++ b/devel/compiler/Tgt.cf
@@ -0,0 +1,16 @@
+--- target language
+
+Tg. Object ::= [Fun] ;
+
+FVal. Fun ::= Ident "=" Val ;
+
+terminator Fun ";" ;
+
+VRec. Val ::= "[" [Val] "]" ;
+VPro. Val ::= "(" Val "." Val ")" ;
+VTok. Val ::= String ;
+VArg. Val ::= "$" Integer ;
+VPar. Val ::= Integer ;
+VCat. Val ::= "(" Val Val ")" ;
+
+terminator Val "," ;