Tamar 0.7.5 → 0.7.6
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitmodules +3 -0
- data/HISTORY +22 -5
- data/Tamar.gemspec +114 -1
- data/VERSION +1 -1
- data/src/lua/CMakeLists.txt +176 -0
- data/src/lua/COPYRIGHT +34 -0
- data/src/lua/FindReadline.cmake +25 -0
- data/src/lua/HISTORY +183 -0
- data/src/lua/INSTALL +99 -0
- data/src/lua/Makefile +128 -0
- data/src/lua/README +46 -0
- data/src/lua/dist.cmake +450 -0
- data/src/lua/dist.info +10 -0
- data/src/lua/doc/amazon.gif +0 -0
- data/src/lua/doc/contents.html +499 -0
- data/src/lua/doc/cover.png +0 -0
- data/src/lua/doc/logo.gif +0 -0
- data/src/lua/doc/lua.1 +163 -0
- data/src/lua/doc/lua.css +41 -0
- data/src/lua/doc/lua.html +172 -0
- data/src/lua/doc/luac.1 +136 -0
- data/src/lua/doc/luac.html +145 -0
- data/src/lua/doc/manual.css +13 -0
- data/src/lua/doc/manual.html +8801 -0
- data/src/lua/doc/readme.html +40 -0
- data/src/lua/etc/Makefile +44 -0
- data/src/lua/etc/README +37 -0
- data/src/lua/etc/all.c +38 -0
- data/src/lua/etc/lua.hpp +9 -0
- data/src/lua/etc/lua.ico +0 -0
- data/src/lua/etc/lua.pc +31 -0
- data/src/lua/etc/luavs.bat +28 -0
- data/src/lua/etc/min.c +39 -0
- data/src/lua/etc/noparser.c +50 -0
- data/src/lua/etc/strict.lua +41 -0
- data/src/lua/src/Makefile +182 -0
- data/src/lua/src/lapi.c +1087 -0
- data/src/lua/src/lapi.h +16 -0
- data/src/lua/src/lauxlib.c +652 -0
- data/src/lua/src/lauxlib.h +174 -0
- data/src/lua/src/lbaselib.c +653 -0
- data/src/lua/src/lcode.c +831 -0
- data/src/lua/src/lcode.h +76 -0
- data/src/lua/src/ldblib.c +398 -0
- data/src/lua/src/ldebug.c +638 -0
- data/src/lua/src/ldebug.h +33 -0
- data/src/lua/src/ldo.c +518 -0
- data/src/lua/src/ldo.h +57 -0
- data/src/lua/src/ldump.c +164 -0
- data/src/lua/src/lfunc.c +174 -0
- data/src/lua/src/lfunc.h +34 -0
- data/src/lua/src/lgc.c +711 -0
- data/src/lua/src/lgc.h +110 -0
- data/src/lua/src/linit.c +38 -0
- data/src/lua/src/liolib.c +556 -0
- data/src/lua/src/llex.c +463 -0
- data/src/lua/src/llex.h +81 -0
- data/src/lua/src/llimits.h +128 -0
- data/src/lua/src/lmathlib.c +263 -0
- data/src/lua/src/lmem.c +86 -0
- data/src/lua/src/lmem.h +49 -0
- data/src/lua/src/loadlib.c +666 -0
- data/src/lua/src/loadlib_rel.c +719 -0
- data/src/lua/src/lobject.c +214 -0
- data/src/lua/src/lobject.h +381 -0
- data/src/lua/src/lopcodes.c +102 -0
- data/src/lua/src/lopcodes.h +268 -0
- data/src/lua/src/loslib.c +243 -0
- data/src/lua/src/lparser.c +1339 -0
- data/src/lua/src/lparser.h +82 -0
- data/src/lua/src/lstate.c +214 -0
- data/src/lua/src/lstate.h +169 -0
- data/src/lua/src/lstring.c +111 -0
- data/src/lua/src/lstring.h +31 -0
- data/src/lua/src/lstrlib.c +871 -0
- data/src/lua/src/ltable.c +588 -0
- data/src/lua/src/ltable.h +40 -0
- data/src/lua/src/ltablib.c +287 -0
- data/src/lua/src/ltm.c +75 -0
- data/src/lua/src/ltm.h +54 -0
- data/src/lua/src/lua.c +392 -0
- data/src/lua/src/lua.def +131 -0
- data/src/lua/src/lua.h +388 -0
- data/src/lua/src/lua.rc +28 -0
- data/src/lua/src/lua_dll.rc +26 -0
- data/src/lua/src/luac.c +200 -0
- data/src/lua/src/luac.rc +1 -0
- data/src/lua/src/luaconf.h.in +724 -0
- data/src/lua/src/luaconf.h.orig +763 -0
- data/src/lua/src/lualib.h +53 -0
- data/src/lua/src/lundump.c +227 -0
- data/src/lua/src/lundump.h +36 -0
- data/src/lua/src/lvm.c +766 -0
- data/src/lua/src/lvm.h +36 -0
- data/src/lua/src/lzio.c +82 -0
- data/src/lua/src/lzio.h +67 -0
- data/src/lua/src/print.c +227 -0
- data/src/lua/test/README +26 -0
- data/src/lua/test/bisect.lua +27 -0
- data/src/lua/test/cf.lua +16 -0
- data/src/lua/test/echo.lua +5 -0
- data/src/lua/test/env.lua +7 -0
- data/src/lua/test/factorial.lua +32 -0
- data/src/lua/test/fib.lua +40 -0
- data/src/lua/test/fibfor.lua +13 -0
- data/src/lua/test/globals.lua +13 -0
- data/src/lua/test/hello.lua +3 -0
- data/src/lua/test/life.lua +111 -0
- data/src/lua/test/luac.lua +7 -0
- data/src/lua/test/printf.lua +7 -0
- data/src/lua/test/readonly.lua +12 -0
- data/src/lua/test/sieve.lua +29 -0
- data/src/lua/test/sort.lua +66 -0
- data/src/lua/test/table.lua +12 -0
- data/src/lua/test/trace-calls.lua +32 -0
- data/src/lua/test/trace-globals.lua +38 -0
- data/src/lua/test/xd.lua +14 -0
- metadata +115 -2
@@ -0,0 +1,111 @@
|
|
1
|
+
-- life.lua
|
2
|
+
-- original by Dave Bollinger <DBollinger@compuserve.com> posted to lua-l
|
3
|
+
-- modified to use ANSI terminal escape sequences
|
4
|
+
-- modified to use for instead of while
|
5
|
+
|
6
|
+
local write=io.write
|
7
|
+
|
8
|
+
ALIVE="�" DEAD="�"
|
9
|
+
ALIVE="O" DEAD="-"
|
10
|
+
|
11
|
+
function delay() -- NOTE: SYSTEM-DEPENDENT, adjust as necessary
|
12
|
+
for i=1,10000 do end
|
13
|
+
-- local i=os.clock()+1 while(os.clock()<i) do end
|
14
|
+
end
|
15
|
+
|
16
|
+
function ARRAY2D(w,h)
|
17
|
+
local t = {w=w,h=h}
|
18
|
+
for y=1,h do
|
19
|
+
t[y] = {}
|
20
|
+
for x=1,w do
|
21
|
+
t[y][x]=0
|
22
|
+
end
|
23
|
+
end
|
24
|
+
return t
|
25
|
+
end
|
26
|
+
|
27
|
+
_CELLS = {}
|
28
|
+
|
29
|
+
-- give birth to a "shape" within the cell array
|
30
|
+
function _CELLS:spawn(shape,left,top)
|
31
|
+
for y=0,shape.h-1 do
|
32
|
+
for x=0,shape.w-1 do
|
33
|
+
self[top+y][left+x] = shape[y*shape.w+x+1]
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
-- run the CA and produce the next generation
|
39
|
+
function _CELLS:evolve(next)
|
40
|
+
local ym1,y,yp1,yi=self.h-1,self.h,1,self.h
|
41
|
+
while yi > 0 do
|
42
|
+
local xm1,x,xp1,xi=self.w-1,self.w,1,self.w
|
43
|
+
while xi > 0 do
|
44
|
+
local sum = self[ym1][xm1] + self[ym1][x] + self[ym1][xp1] +
|
45
|
+
self[y][xm1] + self[y][xp1] +
|
46
|
+
self[yp1][xm1] + self[yp1][x] + self[yp1][xp1]
|
47
|
+
next[y][x] = ((sum==2) and self[y][x]) or ((sum==3) and 1) or 0
|
48
|
+
xm1,x,xp1,xi = x,xp1,xp1+1,xi-1
|
49
|
+
end
|
50
|
+
ym1,y,yp1,yi = y,yp1,yp1+1,yi-1
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
-- output the array to screen
|
55
|
+
function _CELLS:draw()
|
56
|
+
local out="" -- accumulate to reduce flicker
|
57
|
+
for y=1,self.h do
|
58
|
+
for x=1,self.w do
|
59
|
+
out=out..(((self[y][x]>0) and ALIVE) or DEAD)
|
60
|
+
end
|
61
|
+
out=out.."\n"
|
62
|
+
end
|
63
|
+
write(out)
|
64
|
+
end
|
65
|
+
|
66
|
+
-- constructor
|
67
|
+
function CELLS(w,h)
|
68
|
+
local c = ARRAY2D(w,h)
|
69
|
+
c.spawn = _CELLS.spawn
|
70
|
+
c.evolve = _CELLS.evolve
|
71
|
+
c.draw = _CELLS.draw
|
72
|
+
return c
|
73
|
+
end
|
74
|
+
|
75
|
+
--
|
76
|
+
-- shapes suitable for use with spawn() above
|
77
|
+
--
|
78
|
+
HEART = { 1,0,1,1,0,1,1,1,1; w=3,h=3 }
|
79
|
+
GLIDER = { 0,0,1,1,0,1,0,1,1; w=3,h=3 }
|
80
|
+
EXPLODE = { 0,1,0,1,1,1,1,0,1,0,1,0; w=3,h=4 }
|
81
|
+
FISH = { 0,1,1,1,1,1,0,0,0,1,0,0,0,0,1,1,0,0,1,0; w=5,h=4 }
|
82
|
+
BUTTERFLY = { 1,0,0,0,1,0,1,1,1,0,1,0,0,0,1,1,0,1,0,1,1,0,0,0,1; w=5,h=5 }
|
83
|
+
|
84
|
+
-- the main routine
|
85
|
+
function LIFE(w,h)
|
86
|
+
-- create two arrays
|
87
|
+
local thisgen = CELLS(w,h)
|
88
|
+
local nextgen = CELLS(w,h)
|
89
|
+
|
90
|
+
-- create some life
|
91
|
+
-- about 1000 generations of fun, then a glider steady-state
|
92
|
+
thisgen:spawn(GLIDER,5,4)
|
93
|
+
thisgen:spawn(EXPLODE,25,10)
|
94
|
+
thisgen:spawn(FISH,4,12)
|
95
|
+
|
96
|
+
-- run until break
|
97
|
+
local gen=1
|
98
|
+
write("\027[2J") -- ANSI clear screen
|
99
|
+
while 1 do
|
100
|
+
thisgen:evolve(nextgen)
|
101
|
+
thisgen,nextgen = nextgen,thisgen
|
102
|
+
write("\027[H") -- ANSI home cursor
|
103
|
+
thisgen:draw()
|
104
|
+
write("Life - generation ",gen,"\n")
|
105
|
+
gen=gen+1
|
106
|
+
if gen>2000 then break end
|
107
|
+
--delay() -- no delay
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
LIFE(40,20)
|
@@ -0,0 +1,12 @@
|
|
1
|
+
-- make global variables readonly
|
2
|
+
|
3
|
+
local f=function (t,i) error("cannot redefine global variable `"..i.."'",2) end
|
4
|
+
local g={}
|
5
|
+
local G=getfenv()
|
6
|
+
setmetatable(g,{__index=G,__newindex=f})
|
7
|
+
setfenv(1,g)
|
8
|
+
|
9
|
+
-- an example
|
10
|
+
rawset(g,"x",3)
|
11
|
+
x=2
|
12
|
+
y=1 -- cannot redefine `y'
|
@@ -0,0 +1,29 @@
|
|
1
|
+
-- the sieve of of Eratosthenes programmed with coroutines
|
2
|
+
-- typical usage: lua -e N=1000 sieve.lua | column
|
3
|
+
|
4
|
+
-- generate all the numbers from 2 to n
|
5
|
+
function gen (n)
|
6
|
+
return coroutine.wrap(function ()
|
7
|
+
for i=2,n do coroutine.yield(i) end
|
8
|
+
end)
|
9
|
+
end
|
10
|
+
|
11
|
+
-- filter the numbers generated by `g', removing multiples of `p'
|
12
|
+
function filter (p, g)
|
13
|
+
return coroutine.wrap(function ()
|
14
|
+
while 1 do
|
15
|
+
local n = g()
|
16
|
+
if n == nil then return end
|
17
|
+
if math.mod(n, p) ~= 0 then coroutine.yield(n) end
|
18
|
+
end
|
19
|
+
end)
|
20
|
+
end
|
21
|
+
|
22
|
+
N=N or 1000 -- from command line
|
23
|
+
x = gen(N) -- generate primes up to N
|
24
|
+
while 1 do
|
25
|
+
local n = x() -- pick a number until done
|
26
|
+
if n == nil then break end
|
27
|
+
print(n) -- must be a prime number
|
28
|
+
x = filter(n, x) -- now remove its multiples
|
29
|
+
end
|
@@ -0,0 +1,66 @@
|
|
1
|
+
-- two implementations of a sort function
|
2
|
+
-- this is an example only. Lua has now a built-in function "sort"
|
3
|
+
|
4
|
+
-- extracted from Programming Pearls, page 110
|
5
|
+
function qsort(x,l,u,f)
|
6
|
+
if l<u then
|
7
|
+
local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u
|
8
|
+
x[l],x[m]=x[m],x[l] -- swap pivot to first position
|
9
|
+
local t=x[l] -- pivot value
|
10
|
+
m=l
|
11
|
+
local i=l+1
|
12
|
+
while i<=u do
|
13
|
+
-- invariant: x[l+1..m] < t <= x[m+1..i-1]
|
14
|
+
if f(x[i],t) then
|
15
|
+
m=m+1
|
16
|
+
x[m],x[i]=x[i],x[m] -- swap x[i] and x[m]
|
17
|
+
end
|
18
|
+
i=i+1
|
19
|
+
end
|
20
|
+
x[l],x[m]=x[m],x[l] -- swap pivot to a valid place
|
21
|
+
-- x[l+1..m-1] < x[m] <= x[m+1..u]
|
22
|
+
qsort(x,l,m-1,f)
|
23
|
+
qsort(x,m+1,u,f)
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
function selectionsort(x,n,f)
|
28
|
+
local i=1
|
29
|
+
while i<=n do
|
30
|
+
local m,j=i,i+1
|
31
|
+
while j<=n do
|
32
|
+
if f(x[j],x[m]) then m=j end
|
33
|
+
j=j+1
|
34
|
+
end
|
35
|
+
x[i],x[m]=x[m],x[i] -- swap x[i] and x[m]
|
36
|
+
i=i+1
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
function show(m,x)
|
41
|
+
io.write(m,"\n\t")
|
42
|
+
local i=1
|
43
|
+
while x[i] do
|
44
|
+
io.write(x[i])
|
45
|
+
i=i+1
|
46
|
+
if x[i] then io.write(",") end
|
47
|
+
end
|
48
|
+
io.write("\n")
|
49
|
+
end
|
50
|
+
|
51
|
+
function testsorts(x)
|
52
|
+
local n=1
|
53
|
+
while x[n] do n=n+1 end; n=n-1 -- count elements
|
54
|
+
show("original",x)
|
55
|
+
qsort(x,1,n,function (x,y) return x<y end)
|
56
|
+
show("after quicksort",x)
|
57
|
+
selectionsort(x,n,function (x,y) return x>y end)
|
58
|
+
show("after reverse selection sort",x)
|
59
|
+
qsort(x,1,n,function (x,y) return x<y end)
|
60
|
+
show("after quicksort again",x)
|
61
|
+
end
|
62
|
+
|
63
|
+
-- array to be sorted
|
64
|
+
x={"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"}
|
65
|
+
|
66
|
+
testsorts(x)
|
@@ -0,0 +1,12 @@
|
|
1
|
+
-- make table, grouping all data for the same item
|
2
|
+
-- input is 2 columns (item, data)
|
3
|
+
|
4
|
+
local A
|
5
|
+
while 1 do
|
6
|
+
local l=io.read()
|
7
|
+
if l==nil then break end
|
8
|
+
local _,_,a,b=string.find(l,'"?([_%w]+)"?%s*(.*)$')
|
9
|
+
if a~=A then A=a io.write("\n",a,":") end
|
10
|
+
io.write(" ",b)
|
11
|
+
end
|
12
|
+
io.write("\n")
|
@@ -0,0 +1,32 @@
|
|
1
|
+
-- trace calls
|
2
|
+
-- example: lua -ltrace-calls bisect.lua
|
3
|
+
|
4
|
+
local level=0
|
5
|
+
|
6
|
+
local function hook(event)
|
7
|
+
local t=debug.getinfo(3)
|
8
|
+
io.write(level," >>> ",string.rep(" ",level))
|
9
|
+
if t~=nil and t.currentline>=0 then io.write(t.short_src,":",t.currentline," ") end
|
10
|
+
t=debug.getinfo(2)
|
11
|
+
if event=="call" then
|
12
|
+
level=level+1
|
13
|
+
else
|
14
|
+
level=level-1 if level<0 then level=0 end
|
15
|
+
end
|
16
|
+
if t.what=="main" then
|
17
|
+
if event=="call" then
|
18
|
+
io.write("begin ",t.short_src)
|
19
|
+
else
|
20
|
+
io.write("end ",t.short_src)
|
21
|
+
end
|
22
|
+
elseif t.what=="Lua" then
|
23
|
+
-- table.foreach(t,print)
|
24
|
+
io.write(event," ",t.name or "(Lua)"," <",t.linedefined,":",t.short_src,">")
|
25
|
+
else
|
26
|
+
io.write(event," ",t.name or "(C)"," [",t.what,"] ")
|
27
|
+
end
|
28
|
+
io.write("\n")
|
29
|
+
end
|
30
|
+
|
31
|
+
debug.sethook(hook,"cr")
|
32
|
+
level=0
|
@@ -0,0 +1,38 @@
|
|
1
|
+
-- trace assigments to global variables
|
2
|
+
|
3
|
+
do
|
4
|
+
-- a tostring that quotes strings. note the use of the original tostring.
|
5
|
+
local _tostring=tostring
|
6
|
+
local tostring=function(a)
|
7
|
+
if type(a)=="string" then
|
8
|
+
return string.format("%q",a)
|
9
|
+
else
|
10
|
+
return _tostring(a)
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
local log=function (name,old,new)
|
15
|
+
local t=debug.getinfo(3,"Sl")
|
16
|
+
local line=t.currentline
|
17
|
+
io.write(t.short_src)
|
18
|
+
if line>=0 then io.write(":",line) end
|
19
|
+
io.write(": ",name," is now ",tostring(new)," (was ",tostring(old),")","\n")
|
20
|
+
end
|
21
|
+
|
22
|
+
local g={}
|
23
|
+
local set=function (t,name,value)
|
24
|
+
log(name,g[name],value)
|
25
|
+
g[name]=value
|
26
|
+
end
|
27
|
+
setmetatable(getfenv(),{__index=g,__newindex=set})
|
28
|
+
end
|
29
|
+
|
30
|
+
-- an example
|
31
|
+
|
32
|
+
a=1
|
33
|
+
b=2
|
34
|
+
a=10
|
35
|
+
b=20
|
36
|
+
b=nil
|
37
|
+
b=200
|
38
|
+
print(a,b,c)
|
data/src/lua/test/xd.lua
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
-- hex dump
|
2
|
+
-- usage: lua xd.lua < file
|
3
|
+
|
4
|
+
local offset=0
|
5
|
+
while true do
|
6
|
+
local s=io.read(16)
|
7
|
+
if s==nil then return end
|
8
|
+
io.write(string.format("%08X ",offset))
|
9
|
+
string.gsub(s,"(.)",
|
10
|
+
function (c) io.write(string.format("%02X ",string.byte(c))) end)
|
11
|
+
io.write(string.rep(" ",3*(16-string.len(s))))
|
12
|
+
io.write(" ",string.gsub(s,"%c","."),"\n")
|
13
|
+
offset=offset+16
|
14
|
+
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: Tamar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.7.
|
5
|
+
version: 0.7.6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Evan Wies, David Love
|
@@ -124,6 +124,119 @@ files:
|
|
124
124
|
- VERSION
|
125
125
|
- src/build/bootstrap.rb
|
126
126
|
- src/build/extconf.rb
|
127
|
+
- src/lua/CMakeLists.txt
|
128
|
+
- src/lua/COPYRIGHT
|
129
|
+
- src/lua/FindReadline.cmake
|
130
|
+
- src/lua/HISTORY
|
131
|
+
- src/lua/INSTALL
|
132
|
+
- src/lua/Makefile
|
133
|
+
- src/lua/README
|
134
|
+
- src/lua/dist.cmake
|
135
|
+
- src/lua/dist.info
|
136
|
+
- src/lua/doc/amazon.gif
|
137
|
+
- src/lua/doc/contents.html
|
138
|
+
- src/lua/doc/cover.png
|
139
|
+
- src/lua/doc/logo.gif
|
140
|
+
- src/lua/doc/lua.1
|
141
|
+
- src/lua/doc/lua.css
|
142
|
+
- src/lua/doc/lua.html
|
143
|
+
- src/lua/doc/luac.1
|
144
|
+
- src/lua/doc/luac.html
|
145
|
+
- src/lua/doc/manual.css
|
146
|
+
- src/lua/doc/manual.html
|
147
|
+
- src/lua/doc/readme.html
|
148
|
+
- src/lua/etc/Makefile
|
149
|
+
- src/lua/etc/README
|
150
|
+
- src/lua/etc/all.c
|
151
|
+
- src/lua/etc/lua.hpp
|
152
|
+
- src/lua/etc/lua.ico
|
153
|
+
- src/lua/etc/lua.pc
|
154
|
+
- src/lua/etc/luavs.bat
|
155
|
+
- src/lua/etc/min.c
|
156
|
+
- src/lua/etc/noparser.c
|
157
|
+
- src/lua/etc/strict.lua
|
158
|
+
- src/lua/src/Makefile
|
159
|
+
- src/lua/src/lapi.c
|
160
|
+
- src/lua/src/lapi.h
|
161
|
+
- src/lua/src/lauxlib.c
|
162
|
+
- src/lua/src/lauxlib.h
|
163
|
+
- src/lua/src/lbaselib.c
|
164
|
+
- src/lua/src/lcode.c
|
165
|
+
- src/lua/src/lcode.h
|
166
|
+
- src/lua/src/ldblib.c
|
167
|
+
- src/lua/src/ldebug.c
|
168
|
+
- src/lua/src/ldebug.h
|
169
|
+
- src/lua/src/ldo.c
|
170
|
+
- src/lua/src/ldo.h
|
171
|
+
- src/lua/src/ldump.c
|
172
|
+
- src/lua/src/lfunc.c
|
173
|
+
- src/lua/src/lfunc.h
|
174
|
+
- src/lua/src/lgc.c
|
175
|
+
- src/lua/src/lgc.h
|
176
|
+
- src/lua/src/linit.c
|
177
|
+
- src/lua/src/liolib.c
|
178
|
+
- src/lua/src/llex.c
|
179
|
+
- src/lua/src/llex.h
|
180
|
+
- src/lua/src/llimits.h
|
181
|
+
- src/lua/src/lmathlib.c
|
182
|
+
- src/lua/src/lmem.c
|
183
|
+
- src/lua/src/lmem.h
|
184
|
+
- src/lua/src/loadlib.c
|
185
|
+
- src/lua/src/loadlib_rel.c
|
186
|
+
- src/lua/src/lobject.c
|
187
|
+
- src/lua/src/lobject.h
|
188
|
+
- src/lua/src/lopcodes.c
|
189
|
+
- src/lua/src/lopcodes.h
|
190
|
+
- src/lua/src/loslib.c
|
191
|
+
- src/lua/src/lparser.c
|
192
|
+
- src/lua/src/lparser.h
|
193
|
+
- src/lua/src/lstate.c
|
194
|
+
- src/lua/src/lstate.h
|
195
|
+
- src/lua/src/lstring.c
|
196
|
+
- src/lua/src/lstring.h
|
197
|
+
- src/lua/src/lstrlib.c
|
198
|
+
- src/lua/src/ltable.c
|
199
|
+
- src/lua/src/ltable.h
|
200
|
+
- src/lua/src/ltablib.c
|
201
|
+
- src/lua/src/ltm.c
|
202
|
+
- src/lua/src/ltm.h
|
203
|
+
- src/lua/src/lua.c
|
204
|
+
- src/lua/src/lua.def
|
205
|
+
- src/lua/src/lua.h
|
206
|
+
- src/lua/src/lua.rc
|
207
|
+
- src/lua/src/lua_dll.rc
|
208
|
+
- src/lua/src/luac.c
|
209
|
+
- src/lua/src/luac.rc
|
210
|
+
- src/lua/src/luaconf.h.in
|
211
|
+
- src/lua/src/luaconf.h.orig
|
212
|
+
- src/lua/src/lualib.h
|
213
|
+
- src/lua/src/lundump.c
|
214
|
+
- src/lua/src/lundump.h
|
215
|
+
- src/lua/src/lvm.c
|
216
|
+
- src/lua/src/lvm.h
|
217
|
+
- src/lua/src/lzio.c
|
218
|
+
- src/lua/src/lzio.h
|
219
|
+
- src/lua/src/print.c
|
220
|
+
- src/lua/test/README
|
221
|
+
- src/lua/test/bisect.lua
|
222
|
+
- src/lua/test/cf.lua
|
223
|
+
- src/lua/test/echo.lua
|
224
|
+
- src/lua/test/env.lua
|
225
|
+
- src/lua/test/factorial.lua
|
226
|
+
- src/lua/test/fib.lua
|
227
|
+
- src/lua/test/fibfor.lua
|
228
|
+
- src/lua/test/globals.lua
|
229
|
+
- src/lua/test/hello.lua
|
230
|
+
- src/lua/test/life.lua
|
231
|
+
- src/lua/test/luac.lua
|
232
|
+
- src/lua/test/printf.lua
|
233
|
+
- src/lua/test/readonly.lua
|
234
|
+
- src/lua/test/sieve.lua
|
235
|
+
- src/lua/test/sort.lua
|
236
|
+
- src/lua/test/table.lua
|
237
|
+
- src/lua/test/trace-calls.lua
|
238
|
+
- src/lua/test/trace-globals.lua
|
239
|
+
- src/lua/test/xd.lua
|
127
240
|
- src/luadist/CMakeLists.txt
|
128
241
|
- src/luadist/COPYRIGHT
|
129
242
|
- src/luadist/README
|
@@ -186,7 +299,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
186
299
|
requirements:
|
187
300
|
- - ">="
|
188
301
|
- !ruby/object:Gem::Version
|
189
|
-
hash:
|
302
|
+
hash: 676069684641814844
|
190
303
|
segments:
|
191
304
|
- 0
|
192
305
|
version: "0"
|