Skip to content
GitLab
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
26503f96
Commit
26503f96
authored
Jul 12, 2018
by
John van Groningen
Browse files
add defaultFrontEndOptions for sparkle
parent
24d1f2a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
frontend/frontend.dcl
View file @
26503f96
...
...
@@ -6,7 +6,7 @@ import checksupport, overloading
from
trans
import
::
FusionOptions
(..)
from
partition
import
::
Component
(..),::
ComponentMembers
::
FrontEndOptions
::
FrontEndOptions
=
{
feo_up_to_phase
::
!
FrontEndPhase
,
feo_fusion
::
!
FusionOptions
,
feo_generics
::
!
Bool
...
...
@@ -34,5 +34,7 @@ from partition import ::Component(..),::ComponentMembers
}
instance
==
ListTypesKind
defaultFrontEndOptions
::
FrontEndOptions
// used by sparkle, because FrontEndOptions in trunk and itask branch differ
frontEndInterface
::
!(
Optional
(*
File
,{#
Char
},{#
Char
}))
!
FrontEndOptions
!
Ident
!
SearchPaths
!{#
DclModule
}
!*{#*{#
FunDef
}}
!(
Optional
Bool
)
!*
PredefinedSymbols
!*
HashTable
(
ModTimeFunction
*
Files
)
!*
Files
!*
File
!*
File
!*
File
!(
Optional
*
File
)
!*
Heaps
->
(
!
Optional
*
FrontEndSyntaxTree
,!*{#*{#
FunDef
}},!{#
DclModule
},!
Int
,!*
PredefinedSymbols
,
!*
HashTable
,
!*
Files
,
!*
File
,
!*
File
,
!*
File
,
!
Optional
*
File
,
!*
Heaps
)
frontend/frontend.icl
View file @
26503f96
...
...
@@ -17,6 +17,11 @@ frontSyntaxTree cached_dcl_macros cached_dcl_mods main_dcl_module_n predef_symbo
},
cached_dcl_macros
,
cached_dcl_mods
,
main_dcl_module_n
,
predef_symbols
,
hash_table
,
files
,
error
,
io
,
out
,
tcl_file
,
heaps
)
defaultFrontEndOptions
::
FrontEndOptions
defaultFrontEndOptions
=
{
feo_up_to_phase
=
FrontEndPhaseAll
,
feo_generics
=
False
,
feo_fusion
=
{
compile_with_fusion
=
False
,
generic_fusion
=
False
,
strip_unused
=
False
}
}
frontEndInterface
::
!(
Optional
(*
File
,{#
Char
},{#
Char
}))
!
FrontEndOptions
!
Ident
!
SearchPaths
!{#
DclModule
}
!*{#*{#
FunDef
}}
!(
Optional
Bool
)
!*
PredefinedSymbols
!*
HashTable
(
ModTimeFunction
*
Files
)
!*
Files
!*
File
!*
File
!*
File
!(
Optional
*
File
)
!*
Heaps
->
(!
Optional
*
FrontEndSyntaxTree
,!*{#*{#
FunDef
}},!{#
DclModule
},!
Int
,!*
PredefinedSymbols
,
!*
HashTable
,
!*
Files
,
!*
File
,
!*
File
,
!*
File
,
!
Optional
*
File
,
!*
Heaps
)
frontEndInterface
opt_file_dir_time
options
mod_ident
search_paths
cached_dcl_modules
cached_dcl_macros
list_inferred_types
predef_symbols
hash_table
modtimefunction
files
error
io
out
tcl_file
heaps
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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