aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-x.aataaj_JACK.lua2
-rwxr-xr-xPolygLua.lua (renamed from _.lua)9
-rwxr-xr-xaataaj.lua2
-rwxr-xr-xtest_.lua2
4 files changed, 9 insertions, 6 deletions
diff --git a/.aataaj_JACK.lua b/.aataaj_JACK.lua
index d659d50..8378e54 100755
--- a/.aataaj_JACK.lua
+++ b/.aataaj_JACK.lua
@@ -2,6 +2,6 @@
2 2
3-- An example users .aataaj_JACK.lua script that just starts qsynth. 3-- An example users .aataaj_JACK.lua script that just starts qsynth.
4 4
5local _ = require '_' 5local _ = require 'PolygLua'
6 6
7if _.runnable'qsynth' then __'qsynth':forkOnce() end 7if _.runnable'qsynth' then __'qsynth':forkOnce() end
diff --git a/_.lua b/PolygLua.lua
index 43f3f59..c2ebb02 100755
--- a/_.lua
+++ b/PolygLua.lua
@@ -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
5TODO - I should name this project PolygLua. Gluing things onto Lua, making it a polyglot language. 5TODO - Allow -abc style, expand to -a -b -c.
6 PolygLuaT PoLuaGlot PoLuaGLuaT 6
7TODO - 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
8TODO - Add some sort of alias mechanism for the #! thing. _.bash'echo "This is bash."':Do() 11TODO - 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.
diff --git a/aataaj.lua b/aataaj.lua
index eaa0fef..5f6cee5 100755
--- a/aataaj.lua
+++ b/aataaj.lua
@@ -14,7 +14,7 @@
14### END INIT INFO 14### END INIT INFO
15]] 15]]
16 16
17local _ = require '_' 17local _ = require 'PolygLua'
18 18
19 19
20Help = [[ 20Help = [[
diff --git a/test_.lua b/test_.lua
index 6a51b45..452f4c9 100755
--- a/test_.lua
+++ b/test_.lua
@@ -1,7 +1,7 @@
1#!/usr/bin/env luajit 1#!/usr/bin/env luajit
2 2
3 3
4local _ = require '_' 4local _ = require 'PolygLua'
5 5
6 6
7I'Starting from the top.' 7I'Starting from the top.'