From 82cfd3e54b5910843c091a9fb6ef3ad6b64ba757 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 14 Jun 2018 21:59:25 -0700 Subject: More streamlining and cleanup. Especially for core/metaprogramming.nom --- nomsu_tree.moon | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nomsu_tree.moon') diff --git a/nomsu_tree.moon b/nomsu_tree.moon index b9bcdbd..0c6e925 100644 --- a/nomsu_tree.moon +++ b/nomsu_tree.moon @@ -41,4 +41,7 @@ AST.Action.__init = => stub_bits = [type(a) == 'string' and a or '%' for a in *@] @stub = concat stub_bits, " " +AST.Action.get_args = => + [tok for tok in *@ when type(tok) != 'string'] + return AST -- cgit v1.2.3