diff --git a/lib/metaprogramming.nom b/lib/metaprogramming.nom index 408726c..b26deb4 100644 --- a/lib/metaprogramming.nom +++ b/lib/metaprogramming.nom @@ -53,7 +53,7 @@ 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: +compile [type %obj, type of %obj] to: "type(\(%obj as lua))" parse [lua block %block] as: lua code ".."