diff options
Diffstat (limited to 'core')
| -rw-r--r-- | core/collections.nom | 2 | ||||
| -rw-r--r-- | core/metaprogramming.nom | 1 | ||||
| -rw-r--r-- | core/operators.nom | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/core/collections.nom b/core/collections.nom index 8e7576d..0bf5cef 100644 --- a/core/collections.nom +++ b/core/collections.nom @@ -172,5 +172,3 @@ immediately (% in %seen) <- (yes) return %unique - -# TODO: maybe make a generator/coroutine? diff --git a/core/metaprogramming.nom b/core/metaprogramming.nom index 66af1e6..c54a72f 100644 --- a/core/metaprogramming.nom +++ b/core/metaprogramming.nom @@ -211,7 +211,6 @@ immediately error(\(repr %assumption), 0); end - # TODO: factor this out and replace with "unless %condition: barf %message" compile [assume %condition or barf %message] to Lua ".." if not \(%condition as lua expr) then diff --git a/core/operators.nom b/core/operators.nom index 5222a69..dd57cea 100644 --- a/core/operators.nom +++ b/core/operators.nom @@ -22,7 +22,6 @@ immediately compile [%x > %y] to: Lua value "(\(%x as lua expr) > \(%y as lua expr))" compile [%x <= %y] to: Lua value "(\(%x as lua expr) <= \(%y as lua expr))" compile [%x >= %y] to: Lua value "(\(%x as lua expr) >= \(%y as lua expr))" - # TODO: optimize case of [%x,%y] = [1,2] compile [%a is %b, %a = %b, %a == %b] to lua> ".." local safe = {Text=true, Number=true} |
