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
5804580e
Commit
5804580e
authored
May 08, 2001
by
Artem Alimarine
Browse files
added fields to cons_info and type_info
fixed bugs
parent
352e606a
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
frontend/check.icl
View file @
5804580e
...
...
@@ -2675,8 +2675,10 @@ where
<=<
adjust_predef_symbol
PD_ConsARROW
mod_index
STE_Constructor
<=<
adjust_predef_symbol
PD_isomap_ARROW_
mod_index
STE_DclFunction
<=<
adjust_predef_symbol
PD_isomap_ID
mod_index
STE_DclFunction
<=<
adjust_predef_symbol
PD_TypeCONSInfo
mod_index
STE_Type
<=<
adjust_predef_symbol
PD_ConsCONSInfo
mod_index
STE_Constructor
<=<
adjust_predef_symbol
PD_TypeConsDefInfo
mod_index
STE_Type
<=<
adjust_predef_symbol
PD_ConsConsDefInfo
mod_index
STE_Constructor
<=<
adjust_predef_symbol
PD_TypeTypeDefInfo
mod_index
STE_Type
<=<
adjust_predef_symbol
PD_ConsTypeDefInfo
mod_index
STE_Constructor
<=<
adjust_predef_symbol
PD_TypeCONS
mod_index
STE_Type
<=<
adjust_predef_symbol
PD_ConsCONS
mod_index
STE_Constructor
<=<
adjust_predef_symbol
PD_cons_info
mod_index
STE_DclFunction
)
...
...
frontend/generics.icl
View file @
5804580e
This diff is collapsed.
Click to expand it.
frontend/predef.dcl
View file @
5804580e
...
...
@@ -105,26 +105,28 @@ PD_ConsPAIR :== 145
PD_TypeARROW
:==
146
PD_ConsARROW
:==
147
PD_TypeCONSInfo
:==
148
PD_ConsCONSInfo
:==
149
PD_cons_info
:==
150
PD_TypeCONS
:==
151
PD_ConsCONS
:==
152
PD_TypeConsDefInfo
:==
148
PD_ConsConsDefInfo
:==
149
PD_TypeTypeDefInfo
:==
150
PD_ConsTypeDefInfo
:==
151
PD_cons_info
:==
152
PD_TypeCONS
:==
153
PD_ConsCONS
:==
154
PD_isomap_ARROW_
:==
15
3
PD_isomap_ID
:==
15
4
PD_isomap_ARROW_
:==
15
5
PD_isomap_ID
:==
15
6
/* StdMisc */
PD_StdMisc
:==
15
5
PD_abort
:==
15
6
PD_undef
:==
15
7
PD_StdMisc
:==
15
7
PD_abort
:==
15
8
PD_undef
:==
15
9
PD_Start
:==
1
58
PD_Start
:==
1
60
// MW..
PD_DummyForStrictAliasFun
:==
1
59
PD_DummyForStrictAliasFun
:==
1
61
PD_NrOfPredefSymbols
:==
16
0
PD_NrOfPredefSymbols
:==
16
2
// ..MW
GetTupleConsIndex
tup_arity
:==
PD_Arity2TupleSymbol
+
tup_arity
-
2
...
...
frontend/predef.icl
View file @
5804580e
...
...
@@ -103,29 +103,32 @@ PD_ConsPAIR :== 145
PD_TypeARROW
:==
146
PD_ConsARROW
:==
147
PD_TypeCONSInfo
:==
148
PD_ConsCONSInfo
:==
149
PD_cons_info
:==
150
PD_TypeCONS
:==
151
PD_ConsCONS
:==
152
PD_TypeConsDefInfo
:==
148
PD_ConsConsDefInfo
:==
149
PD_TypeTypeDefInfo
:==
150
PD_ConsTypeDefInfo
:==
151
PD_cons_info
:==
152
PD_TypeCONS
:==
153
PD_ConsCONS
:==
154
PD_isomap_ARROW_
:==
15
3
PD_isomap_ID
:==
15
4
PD_isomap_ARROW_
:==
15
5
PD_isomap_ID
:==
15
6
/* StdMisc */
PD_StdMisc
:==
15
5
PD_abort
:==
15
6
PD_undef
:==
15
7
PD_StdMisc
:==
15
7
PD_abort
:==
15
8
PD_undef
:==
15
9
PD_Start
:==
1
58
PD_Start
:==
1
60
// MW..
PD_DummyForStrictAliasFun
:==
1
59
PD_DummyForStrictAliasFun
:==
1
61
PD_NrOfPredefSymbols
:==
16
0
PD_NrOfPredefSymbols
:==
16
2
// ..MW
(<<=)
infixl
(<<=)
state
val
:==
let
(
array
,
symbol_table
)
=
state
...
...
@@ -217,8 +220,10 @@ where
<<-
(
"ARROW"
,
IC_Expression
,
PD_ConsARROW
)
<<-
(
"isomap_ARROW_"
,
IC_Expression
,
PD_isomap_ARROW_
)
<<-
(
"isomap_ID"
,
IC_Expression
,
PD_isomap_ID
)
<<-
(
"CONSInfo"
,
IC_Type
,
PD_TypeCONSInfo
)
<<-
(
"_CONSInfo"
,
IC_Expression
,
PD_ConsCONSInfo
)
<<-
(
"ConsDefInfo"
,
IC_Type
,
PD_TypeConsDefInfo
)
<<-
(
"_ConsDefInfo"
,
IC_Expression
,
PD_ConsConsDefInfo
)
<<-
(
"TypeDefInfo"
,
IC_Type
,
PD_TypeTypeDefInfo
)
<<-
(
"_TypeDefInfo"
,
IC_Expression
,
PD_ConsTypeDefInfo
)
<<-
(
"CONS"
,
IC_Type
,
PD_TypeCONS
)
<<-
(
"CONS"
,
IC_Expression
,
PD_ConsCONS
)
<<-
(
"_cons_info"
,
IC_Expression
,
PD_cons_info
)
...
...
Write
Preview
Supports
Markdown
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