aboutsummaryrefslogtreecommitdiff
path: root/frontend/frontend.dcl
diff options
context:
space:
mode:
authorronny1999-11-24 09:55:29 +0000
committerronny1999-11-24 09:55:29 +0000
commitbe7eb94f86739c604d931f2d989c350a0b09b729 (patch)
tree313d0d72fb16e0432474f9c7cd3355efed52fa02 /frontend/frontend.dcl
parentchange: dynamics are now converted before 'fusion' (diff)
unified main and frontend
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@59 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'frontend/frontend.dcl')
-rw-r--r--frontend/frontend.dcl18
1 files changed, 18 insertions, 0 deletions
diff --git a/frontend/frontend.dcl b/frontend/frontend.dcl
new file mode 100644
index 0000000..8f966ae
--- /dev/null
+++ b/frontend/frontend.dcl
@@ -0,0 +1,18 @@
+definition module frontend
+
+from scanner import SearchPaths, String
+from general import Optional, Yes, No
+import checksupport, transform, overloading
+
+:: FrontEndSyntaxTree
+ = { fe_icl :: !IclModule
+ , fe_dcls :: !{#DclModule}
+ , fe_components :: {!Group}
+ , fe_varHeap :: !.VarHeap
+ , fe_dclIclConversions ::!Optional {# Index}
+ , fe_iclDclConversions ::!Optional {# Index}
+ , fe_arrayInstances :: !{!(Index, SymbolType)}
+ }
+
+frontEndInterface :: !Ident !SearchPaths !*PredefinedSymbols !*HashTable !*Files !*File !*File !*File -> (!*PredefinedSymbols, !*HashTable, !*Files, !*File, !*File, !*File, !Optional *FrontEndSyntaxTree)
+// name paths predefs files error io out \ No newline at end of file