aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordvs12024-10-27 10:18:41 +1000
committerdvs12024-10-27 10:18:41 +1000
commit723030e9016e28d7a1d74d5f513905bf01a0de18 (patch)
tree61aa2536a7b709f68cc4b2581c25f888b714f625
parentDebug code -- (diff)
downloadJackOnAllDevices-723030e9016e28d7a1d74d5f513905bf01a0de18.zip
JackOnAllDevices-723030e9016e28d7a1d74d5f513905bf01a0de18.tar.gz
JackOnAllDevices-723030e9016e28d7a1d74d5f513905bf01a0de18.tar.bz2
JackOnAllDevices-723030e9016e28d7a1d74d5f513905bf01a0de18.tar.xz
Rename _ to PolygLua externally.
Next it'll want it's own package. Oh wait....
-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.'