2014-10-19 07:41:45 -04:00
|
|
|
USING: compiler.codegen.relocation help.markup help.syntax strings ;
|
2014-05-09 09:38:28 -04:00
|
|
|
IN: compiler.codegen.labels
|
|
|
|
|
|
|
|
HELP: define-label
|
|
|
|
{ $values { "name" string } }
|
|
|
|
{ $description "Defines a new label with the given name. The " { $slot "offset" } " slot is filled in later." } ;
|
2014-10-19 07:41:45 -04:00
|
|
|
|
|
|
|
HELP: resolve-label
|
|
|
|
{ $values { "label/name" { $link label } " or " { $link string } } }
|
|
|
|
{ $description "Assigns the current " { $link compiled-offset } " to the given label." } ;
|