diff options
author | dvs1 | 2024-10-27 10:18:41 +1000 |
---|---|---|
committer | dvs1 | 2024-10-27 10:18:41 +1000 |
commit | 723030e9016e28d7a1d74d5f513905bf01a0de18 (patch) | |
tree | 61aa2536a7b709f68cc4b2581c25f888b714f625 | |
parent | Debug code -- (diff) | |
download | JackOnAllDevices-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.lua | 2 | ||||
-rwxr-xr-x | PolygLua.lua (renamed from _.lua) | 9 | ||||
-rwxr-xr-x | aataaj.lua | 2 | ||||
-rwxr-xr-x | test_.lua | 2 |
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 | ||
5 | local _ = require '_' | 5 | local _ = require 'PolygLua' |
6 | 6 | ||
7 | if _.runnable'qsynth' then __'qsynth':forkOnce() end | 7 | if _.runnable'qsynth' then __'qsynth':forkOnce() end |
@@ -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. |
@@ -14,7 +14,7 @@ | |||
14 | ### END INIT INFO | 14 | ### END INIT INFO |
15 | ]] | 15 | ]] |
16 | 16 | ||
17 | local _ = require '_' | 17 | local _ = require 'PolygLua' |
18 | 18 | ||
19 | 19 | ||
20 | Help = [[ | 20 | Help = [[ |
@@ -1,7 +1,7 @@ | |||
1 | #!/usr/bin/env luajit | 1 | #!/usr/bin/env luajit |
2 | 2 | ||
3 | 3 | ||
4 | local _ = require '_' | 4 | local _ = require 'PolygLua' |
5 | 5 | ||
6 | 6 | ||
7 | I'Starting from the top.' | 7 | I'Starting from the top.' |