aboutsummaryrefslogtreecommitdiff
path: root/sucl/frontend.dcl
diff options
context:
space:
mode:
authorzweije2001-07-03 15:14:18 +0000
committerzweije2001-07-03 15:14:18 +0000
commita82ea4ad2d1576d15edc1b11636b2fc81df520dd (patch)
tree0e296a305b285b6473a89cc2e7ccbd0f6cb52e99 /sucl/frontend.dcl
parentThis commit was generated by cvs2svn to compensate for changes in r518, (diff)
This commit was generated by cvs2svn to compensate for changes in r520,
which included commits to RCS files with non-trunk default branches. git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@521 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'sucl/frontend.dcl')
-rw-r--r--sucl/frontend.dcl55
1 files changed, 0 insertions, 55 deletions
diff --git a/sucl/frontend.dcl b/sucl/frontend.dcl
deleted file mode 100644
index 9aff725..0000000
--- a/sucl/frontend.dcl
+++ /dev/null
@@ -1,55 +0,0 @@
-definition module frontend
-
-// $Id$
-
-from scanner import SearchPaths
-from general import Optional, Yes, No
-import checksupport, transform, overloading
-
-:: FrontEndSyntaxTree
- = { fe_icl :: !IclModule // The ICL being compiled
- , fe_dcls :: !{#DclModule} // ? The DCLs that were imported
- , fe_components :: !{!Group} // ? Component groups of functions
- , fe_dclIclConversions ::!Optional {# Index} // ?
- , fe_iclDclConversions ::!Optional {# Index} // ?
- , fe_globalFunctions :: !IndexRange // ?
- , fe_arrayInstances :: !IndexRange // ?
- }
-
-:: FrontEndPhase
- = FrontEndPhaseCheck
- | FrontEndPhaseTypeCheck
- | FrontEndPhaseConvertDynamics
- | FrontEndPhaseTransformGroups
- | FrontEndPhaseConvertModules
- | FrontEndPhaseAll
-
-frontEndInterface
- :: !FrontEndPhase // Up to where we want `frontEndInterface' to do its work
- !Ident // ? Name of module being compiled
- !SearchPaths // ? Where to look for input files
- !{#DclModule} // Modules in the DCL cache
- !{#FunDef} // Functions and macros in the DCL cache
- !(Optional Bool) // List generated types (with or without attributes)
- !*PredefinedSymbols // Symbols that are predefined in the Clean langauge (which?), from the DCL cache (?)
- !*HashTable // ? ... from the DCL cache
- !*Files // Original file system state
- !*File // Original standard error stream state
- !*File // Original standard io stream state
- !*File // Original standard out stream state
- (!Optional !*File) // ? TCL file (?)
- !*Heaps // ? ... from the DCL cache
-
- -> ( !Optional *FrontEndSyntaxTree // Resulting syntax tree if successful
- , !.{# FunDef } // ? Cached functions and macros (which?)
- , !Int // ? Don't care (?)
- , !Int // ? main_dcl_module_n (?)
- , !*PredefinedSymbols // ? Symbols that are predefined in the Clean language
- , !*HashTable // ?
- , !*Files // Resulting file system state
- , !*File // Resulting standard error stream state
- , !*File // Resulting standard io stream state
- , !*File // Resulting standard out stream state
- , !Optional !*File // ? TCL file (?)
- , !*Heaps // ?
- )