Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
isa-afp
afp-devel
Commits
4f8e7efb12a8
Commit
3e85a9b1
authored
Feb 22, 2021
by
wenzelm
Browse files
adapted to Isabelle/0110e2e2964c;
parent
be5e2dcd71e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
thys/CakeML/Tools/cakeml_compiler.ML
View file @
4f8e7efb
...
...
@@ -54,7 +54,7 @@ fun compile_ml_file mode source =
if
not
(
Process_Result
.
ok
res
)
orelse
err
<>
""
then
error
"CakeML: ML compilation failed"
else
(
File
.
write
output
(
trim_line
out
)
;
output
)
(
File
.
write
output
out
;
output
)
end
fun
compile_ml
mode
source
=
...
...
@@ -120,7 +120,7 @@ fun eval mode source =
if
not
(
Process_Result
.
ok
res
)
orelse
err
<>
""
then
error
"CakeML: evaluation failed"
else
trim_line
out
out
end
fun
eval_source
mode
=
...
...
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