repo.or.cz
/
lqt.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
changed copyright notice
[lqt.git]
/
new
/
generator.lua
blob
b3172f93dd802c748281e5acdfebfdab8d4212d7
1
#!/
usr
/
bin
/
lua
2
3
4
local
filename
= ...
5
local
path
=
string
.
match
(
arg
[
0
],
'(.*/)[^%/]+'
)
or
''
6
local
code
=
dofile
(
path
..
'xml.lua'
)(
my
.
readfile
(
filename
))[
1
]
7
8
table
.
foreach
(
code
.
byname
.
hello
[
1
].
xarg
,
print
)
9
10
11