<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua/llex.c, branch v5.5.1</title>
<subtitle>A mirror of https://github.com/lua/lua
</subtitle>
<id>https://git.lua4.win/lua/atom?h=v5.5.1</id>
<link rel='self' href='https://git.lua4.win/lua/atom?h=v5.5.1'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/'/>
<updated>2026-01-20T16:06:16+00:00</updated>
<entry>
<title>Some compilation options configurable from makefile</title>
<updated>2026-01-20T16:06:16+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2026-01-20T16:06:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=e992c6a95939c8e1fe357bfce481e0d0c762c3c6'/>
<id>urn:sha1:e992c6a95939c8e1fe357bfce481e0d0c762c3c6</id>
<content type='text'>
Compilation options LUA_COMPAT_GLOBAL, LUA_COMPAT_LOOPVAR, and
LUA_READLINELIB do not affect the API, so they can be changed
through the make file.
</content>
</entry>
<entry>
<title>Slightly faster way to check for "global"</title>
<updated>2025-05-16T17:51:07+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-05-16T17:51:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=ded2ad2d86f44424c6b6e12bf1b75836cfa9e502'/>
<id>urn:sha1:ded2ad2d86f44424c6b6e12bf1b75836cfa9e502</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Internalized string "break" kept by the parser</title>
<updated>2025-05-15T15:43:37+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-05-15T15:43:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=3fb7a77731e6140674a6b13b73979256bfb95ce3'/>
<id>urn:sha1:3fb7a77731e6140674a6b13b73979256bfb95ce3</id>
<content type='text'>
The parser uses "break" as fake label to compile "break" as "goto
break". To avoid producing this string at each use, it keeps it
available in its state.
</content>
</entry>
<entry>
<title>Remove compat code in parser when not needed</title>
<updated>2025-05-13T14:50:43+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-05-13T14:50:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=fded0b4a844990b1a6d0cda1aba25df33eb5f46f'/>
<id>urn:sha1:fded0b4a844990b1a6d0cda1aba25df33eb5f46f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Using 'l_uint32' for unicode codepoints in scanner</title>
<updated>2025-05-08T15:49:39+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-05-08T15:49:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=d827e96f33056bcc0daca0c04b3273604f9d5986'/>
<id>urn:sha1:d827e96f33056bcc0daca0c04b3273604f9d5986</id>
<content type='text'>
'l_uint32' is enough for unicode codepoints (versus unsigned long),
and the utf-8 library already uses that type.
</content>
</entry>
<entry>
<title>First implementation of global declarations</title>
<updated>2025-05-05T19:24:59+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-05-05T19:24:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=be8120906304a8658fab998587b969e0e42f5650'/>
<id>urn:sha1:be8120906304a8658fab998587b969e0e42f5650</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Growth factor of 1.5 for stack and lexical buffer</title>
<updated>2025-03-31T16:44:41+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-03-31T16:44:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=f4123b2fc2a662c08e3d7edc721241c251a22c4b'/>
<id>urn:sha1:f4123b2fc2a662c08e3d7edc721241c251a22c4b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed conversion warnings from clang</title>
<updated>2025-01-14T19:24:46+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-01-14T19:24:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=3cdd49c94a8feed94853ba3a6adaa556fb34fd8d'/>
<id>urn:sha1:3cdd49c94a8feed94853ba3a6adaa556fb34fd8d</id>
<content type='text'>
Plus some other details. (Option '-Wuninitialized' was removed from
the makefile because it is already enabled by -Wall.)
</content>
</entry>
<entry>
<title>Scanner doesn't need to anchor reserved words</title>
<updated>2024-12-30T19:53:51+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-12-30T19:53:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=5894ca7b95d7fb05f1e93ee77e849a8d816d1c6d'/>
<id>urn:sha1:5894ca7b95d7fb05f1e93ee77e849a8d816d1c6d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Scanner and parser use different tables for constants</title>
<updated>2024-12-17T14:23:22+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-12-17T14:23:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=1c40ff9faafed620aa0458b397bcbfbe19e0f663'/>
<id>urn:sha1:1c40ff9faafed620aa0458b397bcbfbe19e0f663</id>
<content type='text'>
Moreover, each function being parsed has its own table.

The code is cleaner when each table is used for one specific purpose:
The scanner uses its table to anchor and unify strings, mapping strings
to themselves; the parser uses it to reuse constants in the code,
mapping constants to their indices in the constant table. A different
table for each task avoids false collisions.
</content>
</entry>
</feed>
