Source - Geomol/World GitHub Wiki
Usage
source 'word
Description
Prints the source code for a word. source is a function!
Arguments
word -- [word!]
Examples
w> code: [a: 1 b: 2 a + b]
== [a: 1 b: 2 a + b]
w> source code
code: [a: 1 b: 2 a + b]
w> source source
source: func [
"Prints the source code for a word."
'word [word!]
][
prin word
print either value? word [
[":" mold get word]
] [
" undefined"
]
exit
]