diff options
author | johnvg | 2001-11-21 14:48:35 +0000 |
---|---|---|
committer | johnvg | 2001-11-21 14:48:35 +0000 |
commit | 27f4faa94e9f24d7f6edb1c489c0e0a423b3ea9a (patch) | |
tree | 1664cf026fad2db55f22d2d96fcef41f906b70d7 /backend | |
parent | tail recursion modulo cons for strict lists (diff) |
new explicit import syntax
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@901 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'backend')
-rw-r--r-- | backend/backendconvert.dcl | 5 | ||||
-rw-r--r-- | backend/backendsupport.dcl | 9 | ||||
-rw-r--r-- | backend/backendsupport.icl | 7 |
3 files changed, 16 insertions, 5 deletions
diff --git a/backend/backendconvert.dcl b/backend/backendconvert.dcl index 83711e7..5d9434b 100644 --- a/backend/backendconvert.dcl +++ b/backend/backendconvert.dcl @@ -3,7 +3,12 @@ */ definition module backendconvert +/*2.0 +from backend import ::BackEnd +0.2*/ +//1.3 from backend import BackEnd +//3.1 import frontend backEndConvertModules :: PredefinedSymbols FrontEndSyntaxTree !Int *VarHeap *AttrVarHeap *BackEnd -> (!*VarHeap, *AttrVarHeap, !*BackEnd) diff --git a/backend/backendsupport.dcl b/backend/backendsupport.dcl index df885f8..bd95fa1 100644 --- a/backend/backendsupport.dcl +++ b/backend/backendsupport.dcl @@ -3,14 +3,15 @@ */ definition module backendsupport +/*2.0 +from StdArray import class Array(size,usize) +from StdInt import class +,class == +0.2*/ //1.3 from StdArray import size, size_u +from StdInt import +, == //3.1 -/*2.0 -from StdArray import size, usize -0.2*/ from StdFunc import `bind` -from StdInt import +, == import utilities diff --git a/backend/backendsupport.icl b/backend/backendsupport.icl index ae3c873..ba7677b 100644 --- a/backend/backendsupport.icl +++ b/backend/backendsupport.icl @@ -4,8 +4,13 @@ implementation module backendsupport import StdArray -from StdFunc import `bind` +/*2.0 +from StdInt import class + (..),class == (..) +0.2*/ +//1.3 from StdInt import +, == +//3.1 +from StdFunc import `bind` identity :== \x -> x |