Commit d7a43e2a authored by William G Hatch's avatar William G Hatch
Browse files

allow global declarations to be initialized with an expression of any type

IE Not just i32s.  I imagine you might require declarations to be
initialized with a literal value.  If that's the case, maybe you
should make a `LiteralExpression` node as a supertype of the various
parent e5a01694
......@@ -130,7 +130,7 @@
[GlobalDeclaration #f ([name]
[initialvalue : LiteralIntThirtyTwo])
[initialvalue : Expr])
#:prop binder-info (name type definition)]
[GlobalGet Expr ([name])
#:prop reference-info (read name)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment