diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-06-14 21:59:25 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-06-14 21:59:43 -0700 |
| commit | 82cfd3e54b5910843c091a9fb6ef3ad6b64ba757 (patch) | |
| tree | aed04a3910646c82447b9b4b515169005b3010af /nomsu_tree.moon | |
| parent | 282565a309aef632502a64fef0a67b0b7efcfaaa (diff) | |
More streamlining and cleanup. Especially for core/metaprogramming.nom
Diffstat (limited to 'nomsu_tree.moon')
| -rw-r--r-- | nomsu_tree.moon | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
