about summary refs log tree commit diff stats
path: root/lua/chupacabra/chupacabra.lua
diff options
context:
space:
mode:
authorelioat <hi@eli.li>2024-06-09 12:19:01 -0400
committerelioat <hi@eli.li>2024-06-09 12:19:01 -0400
commit0804a54d04e62672e02c850b50caa987eda46b67 (patch)
tree238fd5edade1f6b852ff2664fa5b6aa65dfa11f7 /lua/chupacabra/chupacabra.lua
parent1b5475e67cd31d6837a02e94e110f2091dc059d0 (diff)
downloadtour-0804a54d04e62672e02c850b50caa987eda46b67.tar.gz
*
Diffstat (limited to 'lua/chupacabra/chupacabra.lua')
-rw-r--r--lua/chupacabra/chupacabra.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/chupacabra/chupacabra.lua b/lua/chupacabra/chupacabra.lua
index 963d17d..80a8d22 100644
--- a/lua/chupacabra/chupacabra.lua
+++ b/lua/chupacabra/chupacabra.lua
@@ -23,6 +23,7 @@ end
 function chupacabra.evaluate(tokens, context)
     local stack = {}
 
+    -- FIXME: explore if there is a better way to approach this, so that you don't need to special case the array math
     for _, token in ipairs(tokens) do
         if tonumber(token) then
             table.insert(stack, tonumber(token))