<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/lua-github.git/lparser.c, branch v5.4.4</title>
<subtitle>github.com: lua/lua.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/'/>
<entry>
<title>Bug: 'local function' can assign to '&lt;const&gt;' variables</title>
<updated>2021-06-20T18:36:36+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-06-20T18:36:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=6a0dace25a4b5b77f0fa6911de2ba26ef0fdff2c'/>
<id>6a0dace25a4b5b77f0fa6911de2ba26ef0fdff2c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug: tbc variables in "for" loops don't avoid tail calls</title>
<updated>2021-04-07T17:59:26+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-04-07T17:59:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=47cffdc723c2e0c6dfaf62b7775ca1c1d338c0a4'/>
<id>47cffdc723c2e0c6dfaf62b7775ca1c1d338c0a4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Broadening the use of branch hints</title>
<updated>2021-02-24T14:14:44+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-02-24T14:14:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=59c88f846d1dcd901a4420651aedf27816618923'/>
<id>59c88f846d1dcd901a4420651aedf27816618923</id>
<content type='text'>
More uses of macros 'likely'/'unlikely' (renamed to
'l_likely'/'l_unlikely'), both in range (extended to the
libraries) and in scope (extended to hooks, stack growth).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
More uses of macros 'likely'/'unlikely' (renamed to
'l_likely'/'l_unlikely'), both in range (extended to the
libraries) and in scope (extended to hooks, stack growth).
</pre>
</div>
</content>
</entry>
<entry>
<title>Details</title>
<updated>2020-12-02T18:13:13+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-12-02T18:13:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=d9d2904f09a8039522dfd6f118d4e37bffd5bdf6'/>
<id>d9d2904f09a8039522dfd6f118d4e37bffd5bdf6</id>
<content type='text'>
Names in the parser and other details that do not change actual code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Names in the parser and other details that do not change actual code.
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed optimization for «if ... then goto»</title>
<updated>2020-11-11T17:41:41+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-11-11T17:41:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=ab1aca94e83d2eff1605ea1854df023c814cef21'/>
<id>ab1aca94e83d2eff1605ea1854df023c814cef21</id>
<content type='text'>
That optimization was too complex and caused some weird traces when
debugging. The more common case «if ... then break» was kept.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
That optimization was too complex and caused some weird traces when
debugging. The more common case «if ... then break» was kept.
</pre>
</div>
</content>
</entry>
<entry>
<title>Comments</title>
<updated>2020-10-22T18:54:46+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-10-22T18:54:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=d742a193e57029d973aff0a5eb04d8ddd03fa0ff'/>
<id>d742a193e57029d973aff0a5eb04d8ddd03fa0ff</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revision of stackless implementation</title>
<updated>2020-10-12T15:29:09+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-09-23T13:18:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=287b302acb8d925178e9edb800f0a8d18c7d35f6'/>
<id>287b302acb8d925178e9edb800f0a8d18c7d35f6</id>
<content type='text'>
- more organized handling of 'nCcalls'
- comments
- deprecation of 'setcstacklimit'
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- more organized handling of 'nCcalls'
- comments
- deprecation of 'setcstacklimit'
</pre>
</div>
</content>
</entry>
<entry>
<title>Back to a stackless implementation</title>
<updated>2020-10-12T15:29:09+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-09-21T13:31:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=5d8ce05b3f6fad79e37ed21c1076e47a322472c6'/>
<id>5d8ce05b3f6fad79e37ed21c1076e47a322472c6</id>
<content type='text'>
A "with stack" implementation gains too little in performance to be
worth all the noise from C-stack overflows.

This commit is almost a sketch, to test performance. There are several
pending stuff:

- review control of C-stack overflow and error messages;
- what to do with setcstacklimit;
- review comments;
- review unroll of Lua calls.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A "with stack" implementation gains too little in performance to be
worth all the noise from C-stack overflows.

This commit is almost a sketch, to test performance. There are several
pending stuff:

- review control of C-stack overflow and error messages;
- what to do with setcstacklimit;
- review comments;
- review unroll of Lua calls.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed missing GC barriers in compiler and undump</title>
<updated>2020-06-16T12:54:20+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-06-16T12:54:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=6d7cd31feec58011a593cf732274a33dcc1bcb53'/>
<id>6d7cd31feec58011a593cf732274a33dcc1bcb53</id>
<content type='text'>
While building a new prototype, the GC needs barriers for every object
(strings and nested prototypes) that is attached to the new prototype.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While building a new prototype, the GC needs barriers for every object
(strings and nested prototypes) that is attached to the new prototype.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed two bugs in to-be-closed variables x constants</title>
<updated>2020-06-01T18:07:58+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-06-01T18:07:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=63295f1f7fa052fabcb4d69d49203cf33a7deef0'/>
<id>63295f1f7fa052fabcb4d69d49203cf33a7deef0</id>
<content type='text'>
The parser were mixing compiler indices of variables with stack indices,
so that when a to-be-closed variable was used inside the scope of
compile-time constants (which may be optimized away), it might be closed
in the wrong place. (See new tests for examples.)

Besides fixing the bugs, this commit also changed comments and variable
names to avoid that kind of confusion and added tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The parser were mixing compiler indices of variables with stack indices,
so that when a to-be-closed variable was used inside the scope of
compile-time constants (which may be optimized away), it might be closed
in the wrong place. (See new tests for examples.)

Besides fixing the bugs, this commit also changed comments and variable
names to avoid that kind of confusion and added tests.
</pre>
</div>
</content>
</entry>
</feed>
