Added type function.

This commit is contained in:
Bruce Hill 2017-10-09 19:51:55 -07:00
parent 7f4638ab5f
commit 88add732c7

View File

@ -53,6 +53,8 @@ rule [%tree as value] =:
lua expr "nomsu:tree_to_value(\(%tree), vars)"
compile [repr %obj] to:
"nomsu:repr(\(%obj as lua))"
compile [type %obj] to:
"type(\(%obj as lua))"
parse [lua block %block] as: lua code ".."
|do;