diff options
Diffstat (limited to '')
-rwxr-xr-x | PolygLua.lua (renamed from _.lua) | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1,9 +1,12 @@ | |||
1 | #!/usr/bin/env luajit | 1 | #!/usr/bin/env luajit |
2 | 2 | ||
3 | --[[ | 3 | --[[ PolygLua. Gluing things onto Lua, making it a polyglot language. |
4 | 4 | ||
5 | TODO - I should name this project PolygLua. Gluing things onto Lua, making it a polyglot language. | 5 | TODO - Allow -abc style, expand to -a -b -c. |
6 | PolygLuaT PoLuaGlot PoLuaGLuaT | 6 | |
7 | TODO - Make the parsing recursive. So the command "--fancy" could have it's own options table. | ||
8 | --fancy option0 opt1=foo 'Random string!' --somethingElse | ||
9 | When to stop and hand back? | ||
7 | 10 | ||
8 | TODO - Add some sort of alias mechanism for the #! thing. _.bash'echo "This is bash."':Do() | 11 | TODO - Add some sort of alias mechanism for the #! thing. _.bash'echo "This is bash."':Do() |
9 | The user can define their own aliases in a table, with defaults for bash, sh, luajit, and maybe some others. | 12 | The user can define their own aliases in a table, with defaults for bash, sh, luajit, and maybe some others. |