forge: work in progress: constants, variables, ...
This commit is contained in:
parent
419bd2617b
commit
0638d39bd2
1 changed files with 8 additions and 0 deletions
|
@ -115,8 +115,16 @@ func (f *forgeEnv) Peek(d int) fitem {
|
||||||
return f.ds.Peek(d)
|
return f.ds.Peek(d)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (f *forgeEnv) Const(name string) {
|
||||||
|
}
|
||||||
|
|
||||||
// basic functions for executable items
|
// basic functions for executable items
|
||||||
|
|
||||||
func callDef(f *forgeEnv, xt XT) {
|
func callDef(f *forgeEnv, xt XT) {
|
||||||
f.Call(xt.body.Value().(fptr))
|
f.Call(xt.body.Value().(fptr))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func callData(f *forgeEnv, xt XT) {
|
||||||
|
f.Push(xt.body.Value())
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue