// Package hello is a bootstrap RTL extension that proves fivenode_go's // custom-RTL pipeline works end-to-end. // // Blank-importing this package registers FNODE_HELLO via init() so PRG // code in the same binary can call it without any further wiring. package hello import "five/hbrt" func init() { hbrt.RegisterDynamicFunc("FNODE_HELLO", fnodeHello) } // FNODE_HELLO() — returns a constant greeting; bootstrap verification only. func fnodeHello(t *hbrt.Thread) { t.Frame(0, 0) defer t.EndProc() t.PushString("Hello from fivenode_go hbrtl_ext!") t.RetValue() }