Added type function.
This commit is contained in:
parent
7f4638ab5f
commit
88add732c7
@ -53,6 +53,8 @@ rule [%tree as value] =:
|
|||||||
lua expr "nomsu:tree_to_value(\(%tree), vars)"
|
lua expr "nomsu:tree_to_value(\(%tree), vars)"
|
||||||
compile [repr %obj] to:
|
compile [repr %obj] to:
|
||||||
"nomsu:repr(\(%obj as lua))"
|
"nomsu:repr(\(%obj as lua))"
|
||||||
|
compile [type %obj] to:
|
||||||
|
"type(\(%obj as lua))"
|
||||||
|
|
||||||
parse [lua block %block] as: lua code ".."
|
parse [lua block %block] as: lua code ".."
|
||||||
|do;
|
|do;
|
||||||
|
Loading…
Reference in New Issue
Block a user