diff options
Diffstat (limited to '')
-rw-r--r-- | LuaSL/testLua/yueliang-0.4.1/Changelog | 680 |
1 files changed, 680 insertions, 0 deletions
diff --git a/LuaSL/testLua/yueliang-0.4.1/Changelog b/LuaSL/testLua/yueliang-0.4.1/Changelog new file mode 100644 index 0000000..60faa5e --- /dev/null +++ b/LuaSL/testLua/yueliang-0.4.1/Changelog | |||
@@ -0,0 +1,680 @@ | |||
1 | yueliang changelog | ||
2 | ------------------ | ||
3 | |||
4 | 2008-05-31 Kein-Hong Man <khman@users.sf.net> | ||
5 | |||
6 | * nat-5.0.3/README: updated notes | ||
7 | * nat-5.1.3/README: updated notes | ||
8 | * Manifest: updated | ||
9 | * README: updated | ||
10 | * Version: 0.4.1 | ||
11 | |||
12 | 2008-05-31 Kein-Hong Man <khman@users.sf.net> | ||
13 | |||
14 | * test/test_lparser_mk3_2.lua: added better parser tester that | ||
15 | covers whole grammar, all tests passes | ||
16 | * test/test_lparser_mk3_2.lua: added better parser tester that | ||
17 | covers whole grammar, all tests passes | ||
18 | * nat-5.0.3/test/bench_llex_mk2.lua, nat-5.0.3/test/bench_llex_mk3.lua, | ||
19 | nat-5.0.3/test/bench_llex_mk4.lua, nat-5.0.3/test/test_lzio_mk2.lua, | ||
20 | nat-5.0.3/test/test_lparser_mk3.lua, nat-5.0.3/test/test_lparser_mk3b.lua, | ||
21 | nat-5.0.3/test/test_llex_mk2.lua, nat-5.0.3/test/test_llex_mk3.lua, | ||
22 | nat-5.0.3/test/test_llex_mk4.lua: | ||
23 | adjusted require() call to loose .lua extension, better? | ||
24 | * nat-5.0.3/README: updated info | ||
25 | * orig-5.0.3/test/test_ldump.lua, orig-5.0.3/test/test_llex.lua, | ||
26 | orig-5.0.3/test/bench_llex.lua, orig-5.0.3/test/test_lparser.lua, | ||
27 | orig-5.0.3/test/test_number.lua, orig-5.0.3/test/test_lparser2.lua, | ||
28 | orig-5.0.3/test/test_lzio.lua, test_lua/test_scripts-5.0.lua: | ||
29 | adjusted require() call to loose .lua extension, better? | ||
30 | * orig-5.0.3/test/test_llex.lua: fixed minor change in test case | ||
31 | output, probably something changed between 5.0.2 and 5.0.3 | ||
32 | * nat-5.1.3/test/test_lparser_mk2_2.lua: added better parser tester | ||
33 | that covers whole grammar, all tests passes | ||
34 | |||
35 | 2008-05-29 Kein-Hong Man <khman@users.sf.net> | ||
36 | |||
37 | * nat-5.1.3/lparser_mk2.lua: bug, binopr_* missing '%' operator | ||
38 | |||
39 | 2008-05-28 Kein-Hong Man <khman@users.sf.net> | ||
40 | |||
41 | * nat-5.1.3/lparser_mk2.lua: bug, unopr[] missing '#' operator | ||
42 | |||
43 | 2008-05-23 Kein-Hong Man <khman@users.sf.net> | ||
44 | |||
45 | * orig-5.0.3/test/test_llex.lua: removed duplicate test entry | ||
46 | * orig-5.1.3/test/test_llex.lua: removed duplicate test entry | ||
47 | * nat-5.0.3/test/test_llex_mk2.lua: removed duplicate test entry | ||
48 | * nat-5.0.3/test/test_llex_mk3.lua: removed duplicate test entry | ||
49 | * nat-5.0.3/test/test_llex_mk4.lua: removed duplicate test entry | ||
50 | * nat-5.1.3/test/test_llex_mk2.lua: removed duplicate test entry | ||
51 | |||
52 | 2008-05-22 Kein-Hong Man <khman@users.sf.net> | ||
53 | |||
54 | * nat-5.1.3/lparser_mk2.lua: finish debugging, all test sample | ||
55 | appear to work | ||
56 | * nat-5.1.3/test/test_lparser_mk2.lua: added test script, works | ||
57 | * nat-5.1.3/test/parser_log/sample_*.lua: added parser output | ||
58 | log message samples | ||
59 | * nat-5.1.3/README: updated notes | ||
60 | * Manifest: updated | ||
61 | * README: updated | ||
62 | * OlderNews: updated | ||
63 | * Version: 0.4.0 | ||
64 | |||
65 | 2008-05-22 Kein-Hong Man <khman@users.sf.net> | ||
66 | |||
67 | * nat-5.1.3/lparser_mk2.lua (init): mistake in naming llex.llex | ||
68 | * nat-5.1.3/lparser_mk2.lua (str_checkname): forgot to remove | ||
69 | original C parameter 'ls' in call to check() | ||
70 | * nat-5.1.3/lparser_mk2.lua (constructor): missed name change | ||
71 | from luaX to llex | ||
72 | * nat-5.1.3/lparser_mk2.lua: added a local _G for *_stat lookups | ||
73 | * nat-5.1.3/lparser_mk2.lua (test_then_block): v parm not needed | ||
74 | * nat-5.1.3/lparser_mk2.lua (cond): v parm not needed, added | ||
75 | a local v creation before calling expr() in body, removed not | ||
76 | needed v creation in functions that call cond() | ||
77 | * nat-5.1.3/lparser_mk2.lua (simpleexp): check_condition() for | ||
78 | fs.is_vararg, wrong sense | ||
79 | * nat-5.1.3/lparser_mk2.lua: reset top_fs each time initialized; | ||
80 | added forward references for local functions | ||
81 | |||
82 | 2008-05-20 Kein-Hong Man <khman@users.sf.net> | ||
83 | |||
84 | * nat-5.1.3/lparser_mk2.lua: new file, bits and pieces for | ||
85 | native 5.1.x parser, ongoing | ||
86 | * nat-5.1.3/lparser_mk2.lua: completed initial coding, | ||
87 | untested | ||
88 | |||
89 | 2008-05-20 Kein-Hong Man <khman@users.sf.net> | ||
90 | |||
91 | * nat-5.0.3/README: updated with caveats about line ending | ||
92 | normalization in strings and long strings | ||
93 | * nat-5.1.3/README: updated notes | ||
94 | * README: updated | ||
95 | * Version: 0.3.2 | ||
96 | |||
97 | 2008-05-20 Kein-Hong Man <khman@users.sf.net> | ||
98 | |||
99 | * nat-5.1.3/test/test_llex_mk2.lua: native 5.1.x lexer tester | ||
100 | * nat-5.1.3/test/test_llex_mk2.lua: deleted deprecated tests | ||
101 | * nat-5.1.3/llex_mk2.lua: adjusted require call | ||
102 | * nat-5.1.3/llex_mk2.lua: made sourceid handling more robust | ||
103 | * nat-5.1.3/llex_mk2.lua (llex): mistake in porting code from | ||
104 | 5.0.x native lexer -- variable kept as q when it was renamed p | ||
105 | * nat-5.1.3/llex_mk2.lua (read_long_string): missing reassign | ||
106 | main value I of lexing position for ']' negative test | ||
107 | * nat-5.1.3/llex_mk2.lua (read_long_string): missing add string | ||
108 | segment to buffer for ']' negative test | ||
109 | * nat-5.1.3/llex_mk2.lua (read_string): fixed \xxx sequence | ||
110 | conversion from number to string, forgot how old code worked | ||
111 | * nat-5.1.3/llex_mk2.lua: works | ||
112 | * nat-5.1.3/test/test_llex_mk2.lua: all tests run | ||
113 | * nat-5.1.3/README: updated | ||
114 | |||
115 | 2008-05-19 Kein-Hong Man <khman@users.sf.net> | ||
116 | |||
117 | * nat-5.1.3/: created for 5.1.x lexer/parser work | ||
118 | * nat-5.1.3/test: created for test scripts | ||
119 | * nat-5.1.3/llex_mk2.lua: preliminary native lexer for Lua 5.1.x | ||
120 | complete (except for next() and lookahead()), untested | ||
121 | * nat-5.1.3/README: added | ||
122 | |||
123 | 2008-05-19 Kein-Hong Man <khman@users.sf.net> | ||
124 | |||
125 | * orig-5.0.3/lparser.lua: added comments for calls | ||
126 | * nat-5.0.3/lparser_mk3b.lua: new native parser, same as | ||
127 | lparser_mk3.lua except with variable management code added | ||
128 | * nat-5.0.3/test/test_lparser_mk3b.lua: new test script, | ||
129 | started testing variable management code | ||
130 | * nat-5.0.3/lparser_mk3b.lua (luaY:new_localvar, luaY:searchvar): | ||
131 | fixed var lookup bug due to fs.bl=nil at function top level | ||
132 | * nat-5.0.3/lparser_mk3b.lua (luaY:singlevaraux): fixed bug due | ||
133 | to wrong name used, 'v' instead of the correct 'var' | ||
134 | * nat-5.0.3/lparser_mk3b.lua: fixed extra 'ls' parms that ought | ||
135 | to be removed, when adding code to manage variables; copied from | ||
136 | lparser.lua without thinking | ||
137 | * nat-5.0.3/test/parser_log/sample_b_*.lua: added log samples | ||
138 | * nat-5.0.3/README: updated | ||
139 | * Manifest: updated for parser log samples | ||
140 | * README: updated | ||
141 | * OlderNews: updated | ||
142 | * Version: 0.3.1 | ||
143 | |||
144 | 2008-04-13 Kein-Hong Man <khman@users.sf.net> | ||
145 | |||
146 | * nat-5.0.3/test/parser_log/: new subdirectory for log samples | ||
147 | * nat-5.0.3/test/parser_log/sample_*.lua: added log samples | ||
148 | * nat-5.0.3/README: updated | ||
149 | * Manifest: updated for parser log samples | ||
150 | * test_lua/files-yueliang-5.1.txt: updated directory name change | ||
151 | * README: updated | ||
152 | * Version: 0.3.0 | ||
153 | |||
154 | 2008-04-13 Kein-Hong Man <khman@users.sf.net> | ||
155 | |||
156 | * nat-5.0.3/test/test_lparser_mk3.lua: if_stat tests, | ||
157 | return_stat tests, while_stat tests, repeat_stat tests | ||
158 | * nat-5.0.3/lparser_mk3.lua: logging for if_stat, | ||
159 | return_stat, while_stat, repeat_stat, and comment tweaks | ||
160 | * nat-5.0.3/test/test_lparser_mk3.lua: tests for break_stat, | ||
161 | for_stat, local_stat, function_stat, anonymous functions, | ||
162 | table constructors | ||
163 | * nat-5.0.3/lparser_mk3.lua: logging written for break_stat, | ||
164 | for_stat, local_stat, function_stat, anonymous functions, | ||
165 | table constructors | ||
166 | * nat-5.0.3/lparser_mk3.lua (luaY:localfunc): missing struct b | ||
167 | * nat-5.0.3/lparser_mk3.lua: everything seems to work | ||
168 | |||
169 | 2008-04-12 Kein-Hong Man <khman@users.sf.net> | ||
170 | |||
171 | * nat-5.0.3/test/test_lparser_mk3.lua: basic expr tests | ||
172 | * nat-5.0.3/lparser_mk3.lua: logging for expressions mostly | ||
173 | done, fixed bugs in luaY:subexpr caused by simplification of | ||
174 | orig-5.0.3 sources, seems okay now | ||
175 | * nat-5.0.3/README: updated | ||
176 | * Manifest: updated | ||
177 | * README: updated | ||
178 | * Version: 0.2.4 | ||
179 | |||
180 | 2008-04-12 Kein-Hong Man <khman@users.sf.net> | ||
181 | |||
182 | * nat-5.0.3/test/test_lparser_mk3.lua: added log message | ||
183 | dumper function, added test script exerciser | ||
184 | * nat-5.0.3/lparser_mk3.lua (luaY:open_func): tweaked to | ||
185 | allow early logging | ||
186 | * nat-5.0.3/lparser_mk3.lua: added some logging messages | ||
187 | * nat-5.0.3/test/test_lparser_mk3.lua: added output indenter | ||
188 | * nat-5.0.3/lparser_mk3.lua (luaY:syntaxerror): bug, ref | ||
189 | to self.tok when it should be tok | ||
190 | * nat-5.0.3/lparser_mk3.lua: more logging messages, tests | ||
191 | |||
192 | 2008-04-12 Kein-Hong Man <khman@users.sf.net> | ||
193 | |||
194 | * nat-5.0.3/lparser_mk3.lua: removed old attempt at | ||
195 | writing a native parser skeleton | ||
196 | * nat-5.0.3/lparser_mk3.lua: added preliminary new | ||
197 | native 5.0.3 parser skeleton | ||
198 | * nat-5.0.3/test/test_lparser_mk3.lua: renamed from | ||
199 | test_lparser.lua to match mk numbering | ||
200 | * nat-5.0.3/lparser_mk3.lua (luaY:next): missing 'end' | ||
201 | * nat-5.0.3/test/test_lparser_mk3.lua: runs, no die | ||
202 | |||
203 | 2008-04-10 Kein-Hong Man <khman@users.sf.net> | ||
204 | |||
205 | * nat-5.0.3/test/test_lparser.lua: new, preliminary native | ||
206 | parser test code | ||
207 | * nat-5.0.3/lparser_mk3.lua: fixed regex for binary | ||
208 | operator priority string | ||
209 | * nat-5.0.3/lparser_mk3.lua: renamed variable clash | ||
210 | with function peek -> peek_tok, added missing init | ||
211 | * nat-5.0.3/lparser_mk3.lua: function name clash, | ||
212 | one changed to localstat -> localdeclstat | ||
213 | * nat-5.0.3/test/test_lparser.lua: passed simple string | ||
214 | * nat-5.0.3/test/sample.lua: added test file | ||
215 | * nat-5.0.3/test/test_lparser.lua: added longer test, fail | ||
216 | * nat-5.0.3/lparser_mk3.lua (luaY:subexpr): inconsistent | ||
217 | call parameters, might prefer to rewrite whole thing | ||
218 | |||
219 | 2008-04-09 Kein-Hong Man <khman@users.sf.net> | ||
220 | |||
221 | * orig-5.1.2/lcode.lua (luaK:prefix): 5.1.3 fix | ||
222 | * orig-5.1.2/lparser.lua (luaY:assignment): 5.1.3 fix | ||
223 | * orig-5.1.3: renamed from orig-5.1.2, updated names | ||
224 | * orig-5.1.3/README: updated | ||
225 | * COPYRIGHT, COPYRIGHT_Lua51: updated year | ||
226 | * README: updated | ||
227 | * Version: 0.2.3 | ||
228 | |||
229 | 2007-11-21 Kein-Hong Man <khman@users.sf.net> | ||
230 | |||
231 | * orig-5.1.1/lparser.lua (luaY:listfield): 5.1.2 fixes | ||
232 | * orig-5.1.1/lcode.lua (luaK:infix, luaK:codearith, | ||
233 | luaK:_nil): 5.1.2 fixes | ||
234 | * orig-5.1.2: renamed from orig-5.1.1, updated names | ||
235 | * COPYRIGHT, COPYRIGHT_Lua51: updated | ||
236 | * README: updated | ||
237 | * test_lua/files-*, README: directory name adjustment | ||
238 | * test_lua/5.0, 5.1: renamed from 5.0.3, 5.1.1 | ||
239 | * test_lua: renamed files, adjusted directory references | ||
240 | * Version: 0.2.2 | ||
241 | |||
242 | 2006-11-28 Kein-Hong Man <khman@users.sf.net> | ||
243 | |||
244 | * orig-5.0.3/test/test_lparser2.lua: added option to dump | ||
245 | all error messages for failure cases, to check whether test | ||
246 | cases trip the parser where intended | ||
247 | * orig-5.1.1/test/test_lparser2.lua: ditto | ||
248 | |||
249 | 2006-11-27 Kein-Hong Man <khman@users.sf.net> | ||
250 | |||
251 | * test_lua/README: updated | ||
252 | * orig-5.0.3/README: updated | ||
253 | * orig-5.1.1/README: updated | ||
254 | * Manifest: updated | ||
255 | * README: updated | ||
256 | * COPYRIGHT: updated version number | ||
257 | * Version: 0.2.1 | ||
258 | |||
259 | 2006-11-27 Kein-Hong Man <khman@users.sf.net> | ||
260 | |||
261 | * test_lua/test_parser-5.1.lua: parser test case file | ||
262 | for Lua 5.1.x | ||
263 | * orig-5.1.1/test/test_lparser2.lua: added a parser tester | ||
264 | for the 5.1.1 front end, fixed one bug, 524 tests passed | ||
265 | * orig-5.1.1/lparser.lua (luaY:simpleexp): fixed test | ||
266 | on fs.f.is_vararg, numerical not boolean | ||
267 | |||
268 | 2006-11-27 Kein-Hong Man <khman@users.sf.net> | ||
269 | |||
270 | * nat-5.0.3/lparser_mk3.lua: updated expression type | ||
271 | information passing, needed to detect VCALLs | ||
272 | * test_lua/test_parser-5.0.lua: preliminary parser test | ||
273 | case file for Lua 5.0.x | ||
274 | * test_lua/test_parser-5.0.lua: fixed use of [==[! | ||
275 | * test_lua/test_parser-5.0.lua: updated test cases after | ||
276 | verifying with native Lua | ||
277 | * orig-5.0.3/test/test_lparser2.lua: added a parser tester | ||
278 | for the 5.0.3 front end, 503 tests passed | ||
279 | * nat-5.0.3/README: updated with info on lparser_mk3.lua | ||
280 | |||
281 | 2006-11-23 Kein-Hong Man <khman@users.sf.net> | ||
282 | |||
283 | * orig-5.0.3/lparser.lua: fixed comment typo | ||
284 | * orig-5.1.1/lparser.lua: fixed comment typo | ||
285 | * nat-5.0.3/lparser_mk3.lua: preliminary parser skeleton | ||
286 | |||
287 | 2006-11-22 Kein-Hong Man <khman@users.sf.net> | ||
288 | |||
289 | * test_lua/README: updated with test status | ||
290 | * test_lua/files-yueliang-5.0.3.txt: updated filenames | ||
291 | * test_lua/files-yueliang-5.1.1.txt: added for 5.1.1 | ||
292 | * test_lua/files-lua-5.1.1.txt: added for 5.1.1 | ||
293 | * test_lua/files-other-5.1.1.txt: added for 5.1.1 | ||
294 | * test_lua/test_scripts: to accomodate 5.1.1 material, | ||
295 | renamed to test_lua/test_scripts-5.0.3.lua | ||
296 | * test_lua/test_scripts-5.1.1.lua: added, after debugging, | ||
297 | all files compiled successfully | ||
298 | * Manifest: updated | ||
299 | * README: updated | ||
300 | * Version: 0.2.0 | ||
301 | |||
302 | 2006-11-22 Kein-Hong Man <khman@users.sf.net> | ||
303 | |||
304 | * orig-5.1.1/lparser.lua (luaY:parlist): missing 'self', | ||
305 | (luaY:test_then_block): missing 'self', | ||
306 | (luaY:yindex) check should be checknext, | ||
307 | (luaY:adjustlocalvars) nvars should be loop index i | ||
308 | * orig-5.1.1/lcode.lua (luaK:addk): redo fs.h[] code, | ||
309 | (luaK:nilK) forgot to change from old name nil_constant | ||
310 | (luaK:posfix) copyexp() added to copy expdesc structs | ||
311 | (luaK:patchlistaux) incorrectly placed loop iterator | ||
312 | * orig-5.1.1/lparser.lua: | ||
313 | (luaY:breakstat) luaK:concat returns a value! | ||
314 | (luaY:new_localvarliteral) forgot to correct parameter | ||
315 | (luaY:ifstat) luaK:concat returns a value! | ||
316 | (luaY:whilestat) typo, "whileint" | ||
317 | (luaY:simpleexp) missing 'self' for VARARG_NEEDSARG | ||
318 | (luaY:repeatstat) type, "zself" | ||
319 | (luaY:repeatstat) failed to clear away old code | ||
320 | * orig-5.1.1/lcode.lua: (luaK:constfolding): missing 'self' | ||
321 | (luaK:isnumeral) incorrect type of NO_JUMP | ||
322 | (luaK:need_value) missing interator converting for loop | ||
323 | * orig-5.1.1/llex.lua (luaX:next): must be copy-by-value | ||
324 | (luaK:patchtestreg) cannot replace an inst table | ||
325 | * orig-5.1.1/ldump.lua (luaU:DumpConstants): typo for | ||
326 | constant name, LUA_BOOLEAN -> LUA_TBOOLEAN | ||
327 | |||
328 | 2006-11-22 Kein-Hong Man <khman@users.sf.net> | ||
329 | |||
330 | * orig-5.1.1/test/bench_llex.lua: added performance | ||
331 | tester for Lua 5.1.1 lexer | ||
332 | * orig-5.1.1/README: added preliminary performance data | ||
333 | * orig-5.1.1/lparser.lua: debugging, | ||
334 | (luaY:checklimit) missing 'end' | ||
335 | (luaY:repeatstat) extra 'end' | ||
336 | (luaY:parser) added nCcalls initialization for LuaState | ||
337 | (luaY:exprstat) should be luaK:getcode | ||
338 | * orig-5.1.1/llex.lua: debugging, luaX:lex renamed to | ||
339 | luaX:llex to follow Lua 5.1.1 | ||
340 | * orig-5.1.1/test/test_llex.lua: luaX:lex -> luaX:llex | ||
341 | * orig-5.1.1/test/bench_llex.lua: luaX:lex -> luaX:llex | ||
342 | * orig-5.1.1/lcode.lua: debugging, | ||
343 | (luaK:addK) adjusted value storage, removed setnvalue call | ||
344 | (luaK:codeABC) luaP instead of self, 2 cases | ||
345 | * orig-5.1.1/lopcodes.lua: fixed string parameter type for | ||
346 | instruction information lookup functions, | ||
347 | (luaP:ISK) fixed MSB bit testing to denote constants | ||
348 | (luaP:Instruction) fixed instruction encoding into bytes | ||
349 | |||
350 | 2006-11-21 Kein-Hong Man <khman@users.sf.net> | ||
351 | |||
352 | * orig-5.0.3/lcode.lua: noted failed assert, adjusted | ||
353 | names of set*value lobject.h macros | ||
354 | * README: noted two cases needing following up: a failed | ||
355 | assert (see above) and a missing luaG_checkcode() | ||
356 | * orig-5.1.1/lopcodes.lua: added luaP:CREATE_Inst(c) for | ||
357 | luaK:setlist, implementation of OP_SETLIST | ||
358 | * orig-5.1.1/lcode.lua: added preliminary ported file | ||
359 | |||
360 | 2006-11-21 Kein-Hong Man <khman@users.sf.net> | ||
361 | |||
362 | * orig-5.1.1/lparser.lua: added preliminary ported file | ||
363 | * orig-5.1.1/lparser.lua: fixed syntax porting bugs (3): | ||
364 | (luaY:hasmultret): || changed to or in return statement | ||
365 | (luaY:indexupvalue): || changed to or in assert statement | ||
366 | (luaY:singlevaraux): missing return before return value | ||
367 | |||
368 | 2006-11-17 Kein-Hong Man <khman@users.sf.net> | ||
369 | |||
370 | * Manifest: updated | ||
371 | * README: updated | ||
372 | * Version: 0.1.4 | ||
373 | |||
374 | 2006-11-17 Kein-Hong Man <khman@users.sf.net> | ||
375 | |||
376 | * orig-5.1.1/ldump.lua: removed string.len in 2 places | ||
377 | * orig-5.0.3/lopcodes.lua: (luaP:DecodeInst) comments | ||
378 | adjusted, a regexp changed elsewhere | ||
379 | * orig-5.1.1/ldump.lua: fixed porting bug (function name) | ||
380 | * orig-5.1.1/test/test_ldump.lua: tested binary dumper | ||
381 | * orig-5.1.1/test/test_llex.lua: tested lexer, developed | ||
382 | new test cases to cover changes in Lua 5.1.x | ||
383 | * orig-5.1.1/llex.lua: fixed bugs in lexer in order to | ||
384 | run test cases successfully | ||
385 | (luaX:token2str) variable c should be token | ||
386 | (luaX:lexerror) incorrect call to luaX:chunkid | ||
387 | (luaX:read_numeral) scanning bug, %w captures EOZ too | ||
388 | (luaX:read_long_string) LUA_COMPAT_LSTR is in self | ||
389 | (luaX:lex) incorrect variable used in keyword lookup | ||
390 | * orig-5.0.3/lopcodes.lua: changed a gfind to gmatch | ||
391 | * test_llex*.lua: some tweaks to printout statement | ||
392 | |||
393 | 2006-11-17 Kein-Hong Man <khman@users.sf.net> | ||
394 | |||
395 | * orig-5.1.1/ldump.lua: added binary chunk dumper | ||
396 | * orig-5.1.1/README: added preliminary information | ||
397 | * orig-5.1.1/test/test_lzio.lua: tested chunk reader | ||
398 | * orig-5.1.1/test/test_number.lua: tested number conversion | ||
399 | * test_number.lua: added FLT_MIN, FLT_MAX test values for | ||
400 | completeness, in case conversion to float is needed | ||
401 | |||
402 | 2006-11-16 Kein-Hong Man <khman@users.sf.net> | ||
403 | |||
404 | * test_lua/5.0.2: directory renamed to test_lua/5.0.3 | ||
405 | * test_lua: front end test script and associated files | ||
406 | updated for 5.0.3 | ||
407 | * orig-5.0.2: directory renamed to orig-5.0.3, some | ||
408 | references to 5.0.2 changed | ||
409 | * nat-5.0.2: directory renamed to nat-5.0.3, some | ||
410 | references to 5.0.2 changed | ||
411 | * orig-5.1: directory renamed to orig-5.1.1, some | ||
412 | references to 5.1 changed | ||
413 | |||
414 | 2006-11-16 Kein-Hong Man <khman@users.sf.net> | ||
415 | |||
416 | * orig-5.0.2/lcode.lua: updating to Lua 5.0.3, this is the | ||
417 | only front end file in orig-5.0.2 that has changed; | ||
418 | (luaK:need_value): body changed | ||
419 | (luaK:removevalues): new function, used in luaK:codenot | ||
420 | (luaK:patchlistaux): definition and body changed | ||
421 | (luaK:dischargejpc): body changed (due to luaK:patchlistaux) | ||
422 | (luaK:patchlist): body changed (due to luaK:patchlistaux) | ||
423 | (luaK:exp2reg): body changed (due to luaK:patchlistaux) | ||
424 | (luaK:jumponcond): body changed | ||
425 | (luaK:codenot): body changed (added luaK:removevalues) | ||
426 | |||
427 | 2006-11-16 Kein-Hong Man <khman@users.sf.net> | ||
428 | |||
429 | * test_lua: moved 5.0.2 sample scripts to its own directory | ||
430 | * test_lua/test_scripts.lua: adjusted file paths of sample | ||
431 | files used for parser testing | ||
432 | * test_lua/test_scripts.lua: changed file list specification | ||
433 | to load several separate files for better flexibility and | ||
434 | easier maintenance | ||
435 | * test_lua/files-lua-5.0.2.txt: added sample file list | ||
436 | * test_lua/files-other-5.0.2.txt: added sample file list | ||
437 | * test_lua/files-yueliang-5.0.2.txt: added sample file list | ||
438 | * test_lua/README: updated | ||
439 | * Manifest: updated | ||
440 | |||
441 | 2006-11-13 Kein-Hong Man <khman@users.sf.net> | ||
442 | |||
443 | * orig-5.0.2/lcode.lua: added function comments | ||
444 | |||
445 | 2006-11-13 Kein-Hong Man <khman@users.sf.net> | ||
446 | |||
447 | * orig-5.0.2/test/bench_llex.lua: simple lexer benchmark | ||
448 | * nat-5.0.2/test/bench_llex_mk2.lua: adapted for mk2 lexer | ||
449 | * nat-5.0.2/test/bench_llex_mk3.lua: adapted for mk3 lexer | ||
450 | * nat-5.0.2/test/bench_llex_mk4.lua: adapted for mk4 lexer | ||
451 | * nat-5.0.2/README: added lexer benchmark results | ||
452 | |||
453 | 2006-11-11 Kein-Hong Man <khman@users.sf.net> | ||
454 | |||
455 | * Manifest: updated | ||
456 | * README: updated | ||
457 | * Version: 0.1.3 | ||
458 | |||
459 | 2006-11-11 Kein-Hong Man <khman@users.sf.net> | ||
460 | |||
461 | * nat-5.0.2/llex_mk3.lua: further size optimization work on | ||
462 | new lexer, down to 3286 bytes (stripped) | ||
463 | * nat-5.0.2/llex_mk3.lua: fixed bug in short comment handling | ||
464 | * nat-5.0.2/README: added information for native lexers | ||
465 | * nat-5.0.2/llex_mk4.lua: line-based native lexer, see size | ||
466 | performance data in README | ||
467 | * nat-5.0.2/lzio_mk4.lua: line-based stream reader function | ||
468 | * nat-5.0.2/test/test_llex_mk4.lua: adapted version of test | ||
469 | cases, all tests passed | ||
470 | |||
471 | 2006-11-10 Kein-Hong Man <khman@users.sf.net> | ||
472 | |||
473 | * orig-5.0.2/lparser.lua: added comments for parser | ||
474 | functions, one or more visual tweaks, no code changes | ||
475 | |||
476 | 2006-11-09 Kein-Hong Man <khman@users.sf.net> | ||
477 | |||
478 | * nat-5.0.2/llex_mk3.lua: new minimal size lexer, but takes | ||
479 | in all the source code at once, 3346 bytes (stripped) | ||
480 | * nat-5.0.2/test/test_llex_mk3.lua: adapted version of test | ||
481 | cases, all tests passed | ||
482 | |||
483 | 2006-11-08 Kein-Hong Man <khman@users.sf.net> | ||
484 | |||
485 | * nat-5.0.2/lzio_mk2.lua: renamed from lzio.lua | ||
486 | * nat-5.0.2/test/test_lzio_mk2.lua: renamed from test_lzio.lua | ||
487 | * nat-5.0.2/llex_mk2.lua: renamed from llex.lua | ||
488 | * nat-5.0.2/test/test_llex_mk2.lua: renamed from test_llex.lua | ||
489 | |||
490 | 2006-03-27 Kein-Hong Man <khman@users.sf.net> | ||
491 | |||
492 | * nat-5.0.2/llex.lua: optimizations to reduce file size, | ||
493 | size down to 4003 bytes (stripped) from 4155 bytes | ||
494 | |||
495 | 2006-03-27 Kein-Hong Man <khman@users.sf.net> | ||
496 | |||
497 | * orig-5.1: lzio.lua: minor formatting change | ||
498 | * orig-5.0.2/test/test_llex.lua: fix filename spec | ||
499 | * nat-5.0.2/lzio.lua: new simplified 'native' version | ||
500 | * nat-5.0.2/test/test_lzio.lua: test for the above | ||
501 | * nat-5.0.2/llex.lua: new simplified 'native' version | ||
502 | * nat-5.0.2/test/test_llex.lua: test for the above | ||
503 | |||
504 | 2006-03-25 Kein-Hong Man <khman@users.sf.net> | ||
505 | |||
506 | * orig-5.0.2/llex.lua: typo fix | ||
507 | * orig-5.1/llex.lua: Lua 5.1 lexer | ||
508 | * Manifest: updated | ||
509 | |||
510 | 2006-03-23 Kein-Hong Man <khman@users.sf.net> | ||
511 | |||
512 | * orig-5.0.2/tools/call_graph.lua: added display of contents | ||
513 | of expdesc structures | ||
514 | |||
515 | 2006-03-23 Kein-Hong Man <khman@users.sf.net> | ||
516 | |||
517 | * orig-5.1: new directory for 5.1 front-end | ||
518 | * orig-5.1/lzio.lua: Lua 5.1 input stream reader | ||
519 | * COPYRIGHT: updated with Lua 5.1 information | ||
520 | * COPYRIGHT_Lua51: added for Lua 5.1 | ||
521 | * Manifest: updated | ||
522 | * orig-5.0.2/lzio.lua: updated comments | ||
523 | * orig-5.1/lzio.lua (luaZ:fill): fixed porting bug | ||
524 | |||
525 | 2005-05-04 Kein-Hong Man <khman@users.sf.net> | ||
526 | |||
527 | * orig-5.0.2/tools/sample_expr.lua: a Lua-style expression | ||
528 | parsing interactive demonstrator | ||
529 | * orig-5.0.2/tools/sample_expr.lua: fixed parsing bugs, | ||
530 | (1) unop subexpr, (2) assign to op before testing for binop | ||
531 | * orig-5.0.2/lparser.lua: fixed some comments which have | ||
532 | incorrect description of Lua syntax | ||
533 | |||
534 | 2005-04-18 Kein-Hong Man <khman@users.sf.net> | ||
535 | |||
536 | * Version: 0.1.2 | ||
537 | |||
538 | 2005-04-17 Kein-Hong Man <khman@users.sf.net> | ||
539 | |||
540 | * orig-5.0.2/lparser.lua: added descriptive comments for some | ||
541 | expression parsing functions | ||
542 | * orig-5.0.2/test/test_number.lua: test cases for number | ||
543 | conversion functions in ldump.lua | ||
544 | * test_lua/test_scripts.lua: updated with some new test entries | ||
545 | * orig-5.0.2/ldump.lua (luaU:from_double): added support for | ||
546 | +/- infinity | ||
547 | |||
548 | 2005-04-14 Kein-Hong Man <khman@users.sf.net> | ||
549 | |||
550 | * moved project to a Subversion repository | ||
551 | |||
552 | 2005-03-24 Kein-Hong Man <khman@users.sf.net> | ||
553 | |||
554 | * orig-5.0.2/lopcodes.lua: added luaP:DecodeInst to decode | ||
555 | instruction from a 4-char string | ||
556 | * orig-5.0.2/lopcodes.lua (getOpMode, testOpMode): add 'self.' | ||
557 | |||
558 | 2005-03-22 Kein-Hong Man <khman@users.sf.net> | ||
559 | |||
560 | * orig-5.0.2/tools/call_graph.lua: added comments, check for | ||
561 | namespace collision when selecting new name for orig function | ||
562 | * test_lua/test_scripts.lua: added comments, some test files | ||
563 | |||
564 | 2005-03-21 Kein-Hong Man <khman@users.sf.net> | ||
565 | |||
566 | * orig-5.0.2/tools/call_graph.lua: added allow/deny of specific | ||
567 | functions, display of return values | ||
568 | * orig-5.0.2/tools/calls.log: sample output | ||
569 | * Version: 0.1.1 | ||
570 | |||
571 | 2005-03-20 Kein-Hong Man <khman@users.sf.net> | ||
572 | |||
573 | * orig-5.0.2/tools/call_graph.lua: added script to generate | ||
574 | a call graph from selected modules | ||
575 | |||
576 | 2005-03-19 Kein-Hong Man <khman@users.sf.net> | ||
577 | |||
578 | * README: added some size statistics for comparison | ||
579 | * test_lua/README: updated description | ||
580 | * orig-5.0.2/README: added notes | ||
581 | * orig-5.0.2/lzio.lua: fixed bug when calling zgetc after | ||
582 | EOF for a file chunk reader (Thanks to Adam429) | ||
583 | * orig-5.0.2/test/test_lzio.lua: added manual test for above | ||
584 | |||
585 | 2005-03-17 Kein-Hong Man <khman@users.sf.net> | ||
586 | |||
587 | * orig-5.0.2/lparser.lua (indexupvalue): struct expdesc copy | ||
588 | * orig-5.0.2/luac.lua: simple luac; can compile luac.lua | ||
589 | * orig-5.0.2/lparser.lua (assignment, constructor): missing | ||
590 | 'self:' | ||
591 | * test_lua: added sample Lua scripts from Lua 5.0.2 | ||
592 | * test_lua/README: add source attribution for example scripts | ||
593 | * orig-5.0.2/lcode.lua (arith_opc): typo OP_MULT -> OP_MUL | ||
594 | * orig-5.0.2/ldump.lua (DumpString): fixed handling for "" | ||
595 | * orig-5.0.2/ldump.lua (DumpFunction): fixed f.source handling | ||
596 | * orig-5.0.2/lcode.lua (jump, codebinop): 'luaK:' -> 'self:' | ||
597 | * orig-5.0.2/lcode.lua (need_value, exp2reg): comparison of | ||
598 | boolean cond with 0/1 C field, changed back to all 0/1 | ||
599 | * orig-5.0.2/lzio.lua (init): test for nil reader argument | ||
600 | * test_lua/test_scripts.lua: Lua 5.0.2 examples all compiles | ||
601 | correctly, as does Yueliang files | ||
602 | * orig-5.0.2/lzio.lua (make_getF): changed file mode to "r" | ||
603 | so that chunk reader behaves like luac for \r\n-style files | ||
604 | * test_lua/test_scripts.lua: added Lua code from LuaSrcDiet, | ||
605 | SciTELuaExporters, ChunkBake, ChunkSpy, all works | ||
606 | * README: preliminary documentation | ||
607 | * some pre-release cosmetic changes | ||
608 | * initial public release | ||
609 | * Version: 0.1.0 | ||
610 | |||
611 | 2005-03-16 Kein-Hong Man <khman@users.sf.net> | ||
612 | |||
613 | * orig-5.0.2/test/test_lparser.lua: basic parser/codegen test | ||
614 | * orig-5.0.2/lparser.lua: added FuncState.actvar = {} init | ||
615 | * orig-5.0.2/lcode.lua (ttisnumber): handle nil entries | ||
616 | * orig-5.0.2/lopcodes.lua (getOpMode): string opcode parm | ||
617 | * orig-5.0.2/lcode.lua (exp2reg): missing 'self:' prefixes | ||
618 | * orig-5.0.2/lopcodes.lua (CREATE_ABC, CREATE_ABx): convert | ||
619 | string opcode representation to number when storing in field OP | ||
620 | * orig-5.0.2/lcode.lua (setsvalue, setnvalue, sethvalue): | ||
621 | missing second argument cause addk to fail | ||
622 | * orig-5.0.2/lparser.lua (check_match): missing 'self:' | ||
623 | * orig-5.0.2/test/test_lparser.lua: two simple tests successful | ||
624 | * orig-5.0.2/lcode.lua (exp2val, exp2anyreg, invertjump): | ||
625 | missing 'self:' | ||
626 | * orig-5.0.2/lparser.lua (parlist, subexpr): missing 'self:' | ||
627 | * orig-5.0.2/lopcodes.lua (testOpMode): string opcode parm | ||
628 | * orig-5.0.2/lparser.lua (subexpr): convert string operator name | ||
629 | to BinOpr number when looking up binop operator priority | ||
630 | * orig-5.0.2/lparser.lua (adjustlocalvars): wrong loop index | ||
631 | * orig-5.0.2/lcode.lua (addk): fixed constant lookup | ||
632 | |||
633 | 2005-03-15 Kein-Hong Man <khman@users.sf.net> | ||
634 | |||
635 | * orig-5.0.2/lcode.lua: completed porting (untested) | ||
636 | * orig-5.0.2/ldump.lua: completed porting (untested) | ||
637 | * orig-5.0.2/test/test_ldump.lua: added chunk writer tests | ||
638 | * orig-5.0.2/test/test_ldump.lua: basic test writing binary | ||
639 | chunk from a simple function prototype table successful | ||
640 | |||
641 | 2005-03-14 Kein-Hong Man <khman@users.sf.net> | ||
642 | |||
643 | * orig-5.0.2/lparser.lua: updated representation of constants | ||
644 | * orig-5.0.2/lopcodes.lua: completed porting (untested) | ||
645 | * orig-5.0.2/test_lzio.lua: moved to orig-5.0.2/test subdir | ||
646 | * orig-5.0.2/test_llex.lua: moved to orig-5.0.2/test subdir | ||
647 | |||
648 | 2005-03-13 Kein-Hong Man <khman@users.sf.net> | ||
649 | |||
650 | * orig-5.0.2/lparser.lua: completed porting (untested), | ||
651 | can't be tested without lcode/ldump | ||
652 | |||
653 | 2005-03-11 Kein-Hong Man <khman@users.sf.net> | ||
654 | |||
655 | * orig-5.0.2/test_llex.lua: added manual test for llex.lua | ||
656 | * orig-5.0.2/llex.lua: code review; put Token parameter to | ||
657 | replace seminfo pointer in luaX:lex and related functions | ||
658 | * orig-5.0.2/llex.lua (chunkid): fixed buffer handling bug | ||
659 | * orig-5.0.2/llex.lua (read_string): escaped \n index bug | ||
660 | * orig-5.0.2/test_llex.lua: adjusted calling code to properly | ||
661 | use Token struct t in LS same as in original lparser.c calls | ||
662 | * orig-5.0.2/llex.lua (token2str): put back an assert as comment | ||
663 | * orig-5.0.2/llex.lua (readname): bug reading name up to EOZ | ||
664 | * orig-5.0.2/llex.lua (read_string): forgot c = self:next(LS) | ||
665 | * orig-5.0.2/llex.lua (readname): %w (alnum) instead of %a | ||
666 | * orig-5.0.2/llex.lua (lex): string.byte(c) for ctrl char msg | ||
667 | * orig-5.0.2/test_llex.lua: added automatic testing, all test | ||
668 | cases work after bug fixes (see above entries) to llex.lua | ||
669 | * orig-5.0.2/llex.lua: complete | ||
670 | |||
671 | 2005-03-10 Kein-Hong Man <khman@users.sf.net> | ||
672 | |||
673 | * orig-5.0.2/llex.lua: completed porting | ||
674 | |||
675 | 2005-03-09 Kein-Hong Man <khman@users.sf.net> | ||
676 | |||
677 | * started work on porting files (llex|lparser|lcode).(h|c) | ||
678 | * orig-5.0.2/lzio.lua: done parts needed for llex.lua, manually | ||
679 | tested with both string and file chunk readers | ||
680 | * orig-5.0.2/test_lzio.lua: created manual test | ||