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
xsmith
WebAssembly Sandbox
Commits
b1d474d9
Commit
b1d474d9
authored
May 28, 2020
by
Guy Watson
Browse files
Properly print literals
parent
59c62fa8
Changes
1
Hide whitespace changes
Inline
Side-by-side
wasmlike/wasmlike.rkt
View file @
b1d474d9
...
...
@@ -408,10 +408,10 @@
[
Func
(
λ
(
n
)
`
(
func
(
export
"_func"
)
(
result
i32
)
(
local
,@
(
make-list
(
ast-child
'localcount
n
)
'i32
))
,@
(
$xsmith_render-node
(
ast-child
'root
n
))))]
[
LiteralIntThirtyTwo
(
λ
(
n
)
(
list
'
FIXMEEEE
(
ast-child
'v
n
)))]
;; todo fix
[
LiteralIntSixtyFour
(
λ
(
n
)
(
list
'
FIXMEEEE
(
ast-child
'v
n
)))]
;; todo fix
[
LiteralFloatThirtyTwo
(
λ
(
n
)
(
list
'
FIXMEEEE
(
ast-child
'v
n
)))]
;; todo fix
[
LiteralFloatSixtyFour
(
λ
(
n
)
(
list
'
FIXMEEEE
(
ast-child
'v
n
)))]
;; todo fix
[
LiteralIntThirtyTwo
(
λ
(
n
)
(
list
'
i32
.
const
(
ast-child
'v
n
)))]
[
LiteralIntSixtyFour
(
λ
(
n
)
(
list
'
i64
.
const
(
ast-child
'v
n
)))]
[
LiteralFloatThirtyTwo
(
λ
(
n
)
(
list
'
f32
.
const
(
ast-child
'v
n
)))]
[
LiteralFloatSixtyFour
(
λ
(
n
)
(
list
'
f64
.
const
(
ast-child
'v
n
)))]
[
Noop
(
λ
(
n
)
(
append
'
(
nop
)
(
$xsmith_render-node
(
ast-child
'expr
n
))))]
...
...
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