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
ec187af6fd41
Commit
2fa3c0da
authored
Feb 21, 2021
by
wenzelm
Browse files
more accurate process_result;
parent
fedf84a4c625
Changes
1
Hide whitespace changes
Inline
Side-by-side
thys/CakeML/Tools/cakeml_compiler.ML
View file @
ec187af6
...
...
@@ -53,7 +53,7 @@ fun compile_ml_file mode source =
if
rc
<>
0
orelse
err
<>
""
then
error
"CakeML: ML compilation failed"
else
(
File
.
write
output
out
;
output
)
(
File
.
write
output
(
trim_line
out
)
;
output
)
end
fun
compile_ml
mode
source
=
...
...
@@ -115,7 +115,7 @@ fun eval mode source =
if
rc
<>
0
orelse
err
<>
""
then
error
"CakeML: evaluation failed"
else
out
trim_line
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