Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-compiler-and-rts
compiler
Commits
27c6f4a9
Commit
27c6f4a9
authored
Mar 17, 2004
by
Ronny Wichers Schreur
🏘
Browse files
reification of type definitions
parent
1624cadf
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
frontend/typereify.dcl
0 → 100644
View file @
27c6f4a9
/*
module owner: Ronny Wichers Schreur
*/
definition
module
typereify
from
syntax
import
::
Ident
,
::
FunDef
,
::
IndexRange
,
::
TypeHeaps
,
::
SymbolTable
,
::
SymbolTableEntry
,
::
Heap
from
checksupport
import
::
DclModule
,
::
CommonDefs
,
::
VarHeap
,
::
VarInfo
from
predef
import
::
PredefinedSymbols
,
::
PredefinedSymbol
addTypeFunctions
::
Ident
Int
*{#
DclModule
}
*{#
FunDef
}
*
CommonDefs
*
PredefinedSymbols
*
VarHeap
*
SymbolTable
->
(
IndexRange
,
*{#
DclModule
},
*{#
FunDef
},
*
CommonDefs
,
*
PredefinedSymbols
,
*
VarHeap
,
*
SymbolTable
)
buildTypeFunctions
::
!
Int
!*{#
FunDef
}
!{#
CommonDefs
}
*
PredefinedSymbols
*
VarHeap
*
TypeHeaps
->
(*{#
FunDef
},
*
PredefinedSymbols
,
*
VarHeap
,
*
TypeHeaps
)
sanityCheckTypeFunctions
::
!
Int
!
CommonDefs
!{#
DclModule
}
!{#
FunDef
}
->
Bool
frontend/typereify.icl
0 → 100644
View file @
27c6f4a9
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment