cosmopolitan/third_party/lua
Justine Tunney fa20edc44d
Reduce header complexity
- Remove most __ASSEMBLER__ __LINKER__ ifdefs
- Rename libc/intrin/bits.h to libc/serialize.h
- Block pthread cancelation in fchmodat() polyfill
- Remove `clang-format off` statements in third_party
2023-11-28 14:39:42 -08:00
..
test Make fixes and improvements 2023-07-09 05:21:11 -07:00
BUILD.mk Rename makefiles BUILD.mk 2023-11-28 11:21:08 -08:00
cosmo.h Reduce header complexity 2023-11-28 14:39:42 -08:00
lapi.c Reduce header complexity 2023-11-28 14:39:42 -08:00
lapi.h Reduce header complexity 2023-11-28 14:39:42 -08:00
lauxlib.c Reduce header complexity 2023-11-28 14:39:42 -08:00
lauxlib.h Reduce header complexity 2023-11-28 14:39:42 -08:00
lbaselib.c Reduce header complexity 2023-11-28 14:39:42 -08:00
lcode.c Reduce header complexity 2023-11-28 14:39:42 -08:00
lcode.h Reduce header complexity 2023-11-28 14:39:42 -08:00
lcorolib.c Reduce header complexity 2023-11-28 14:39:42 -08:00
lctype.h Polish redbean serialization 2022-04-29 06:10:10 -07:00
ldblib.c Reduce header complexity 2023-11-28 14:39:42 -08:00
ldebug.c Reduce header complexity 2023-11-28 14:39:42 -08:00
ldebug.h Reduce header complexity 2023-11-28 14:39:42 -08:00
ldo.c Reduce header complexity 2023-11-28 14:39:42 -08:00
ldo.h Reduce header complexity 2023-11-28 14:39:42 -08:00
ldump.c Reduce header complexity 2023-11-28 14:39:42 -08:00
lfunc.c Reduce header complexity 2023-11-28 14:39:42 -08:00
lfunc.h Reduce header complexity 2023-11-28 14:39:42 -08:00
lgc.c Reduce header complexity 2023-11-28 14:39:42 -08:00
lgc.h Reduce header complexity 2023-11-28 14:39:42 -08:00
linit.c Reduce header complexity 2023-11-28 14:39:42 -08:00
liolib.c Reduce header complexity 2023-11-28 14:39:42 -08:00
ljumptab.inc Get Lua to build with all tests passing 2021-03-07 13:31:09 -08:00
llex.c Reduce header complexity 2023-11-28 14:39:42 -08:00
llex.h Reduce header complexity 2023-11-28 14:39:42 -08:00
llimits.h Reduce header complexity 2023-11-28 14:39:42 -08:00
llock.c Make important improvements 2022-09-14 22:39:08 -07:00
lmathlib.c Reduce header complexity 2023-11-28 14:39:42 -08:00
lmem.c Reduce header complexity 2023-11-28 14:39:42 -08:00
lmem.h Reduce header complexity 2023-11-28 14:39:42 -08:00
loadlib.c Reduce header complexity 2023-11-28 14:39:42 -08:00
lobject.c Reduce header complexity 2023-11-28 14:39:42 -08:00
lobject.h Reduce header complexity 2023-11-28 14:39:42 -08:00
lopcodes.c Reduce header complexity 2023-11-28 14:39:42 -08:00
lopcodes.h Reduce header complexity 2023-11-28 14:39:42 -08:00
lopnames.inc Get Lua to build with all tests passing 2021-03-07 13:31:09 -08:00
loslib.c Reduce header complexity 2023-11-28 14:39:42 -08:00
lparser.c Reduce header complexity 2023-11-28 14:39:42 -08:00
lparser.h Reduce header complexity 2023-11-28 14:39:42 -08:00
lprefix.h Make improvements 2022-04-24 10:06:05 -07:00
lrepl.c Reduce header complexity 2023-11-28 14:39:42 -08:00
lrepl.h Reduce header complexity 2023-11-28 14:39:42 -08:00
lstate.c Reduce header complexity 2023-11-28 14:39:42 -08:00
lstate.h Reduce header complexity 2023-11-28 14:39:42 -08:00
lstring.c Reduce header complexity 2023-11-28 14:39:42 -08:00
lstring.h Reduce header complexity 2023-11-28 14:39:42 -08:00
lstrlib.c Reduce header complexity 2023-11-28 14:39:42 -08:00
ltable.c Reduce header complexity 2023-11-28 14:39:42 -08:00
ltable.h Reduce header complexity 2023-11-28 14:39:42 -08:00
ltablib.c Reduce header complexity 2023-11-28 14:39:42 -08:00
ltests.c Reduce header complexity 2023-11-28 14:39:42 -08:00
ltests.h Reduce header complexity 2023-11-28 14:39:42 -08:00
ltm.c Reduce header complexity 2023-11-28 14:39:42 -08:00
ltm.h Reduce header complexity 2023-11-28 14:39:42 -08:00
lua.h Reduce header complexity 2023-11-28 14:39:42 -08:00
lua.main.c Reduce header complexity 2023-11-28 14:39:42 -08:00
luac.main.c Reduce header complexity 2023-11-28 14:39:42 -08:00
luacallwithtrace.c Update redbean to stringify error objects (#393) 2022-04-25 21:14:36 -07:00
luaconf.h Reduce header complexity 2023-11-28 14:39:42 -08:00
luaencodejsondata.c Reduce header complexity 2023-11-28 14:39:42 -08:00
luaencodeluadata.c Reduce header complexity 2023-11-28 14:39:42 -08:00
luaencodeurl.c Fix warnings 2023-09-01 20:50:18 -07:00
luaformatstack.c Make improvements 2023-09-06 12:34:59 -07:00
lualib.h Reduce header complexity 2023-11-28 14:39:42 -08:00
luaparseurl.c Improve redbean method=get parameter handling 2022-09-19 20:04:39 -07:00
luaprintstack.c Unbloat the build 2022-08-11 00:15:29 -07:00
luapushheader.c Fix warnings 2023-09-01 20:50:18 -07:00
luapushheaders.c Unbloat the build 2022-08-11 00:15:29 -07:00
luapushlatin1.c Trim down redbean a little bit 2022-03-21 19:32:30 -07:00
luapushurlparams.c Trim down redbean a little bit 2022-03-21 19:32:30 -07:00
lundump.c Reduce header complexity 2023-11-28 14:39:42 -08:00
lundump.h Reduce header complexity 2023-11-28 14:39:42 -08:00
lunix.c Reduce header complexity 2023-11-28 14:39:42 -08:00
lunix.h Reduce header complexity 2023-11-28 14:39:42 -08:00
lutf8lib.c Reduce header complexity 2023-11-28 14:39:42 -08:00
lvm.c Reduce header complexity 2023-11-28 14:39:42 -08:00
lvm.h Reduce header complexity 2023-11-28 14:39:42 -08:00
lzio.c Reduce header complexity 2023-11-28 14:39:42 -08:00
lzio.h Reduce header complexity 2023-11-28 14:39:42 -08:00
README.cosmo Write more redbean unit tests 2022-07-08 23:10:02 -07:00
serialize.c Introduce #include <cosmo.h> to toolchain users 2023-06-09 18:03:05 -07:00
tms.h Reduce header complexity 2023-11-28 14:39:42 -08:00
visitor.c Further improve JSON serialization 2022-07-11 23:06:49 -07:00
visitor.h Reduce header complexity 2023-11-28 14:39:42 -08:00

DESCRIPTION

  Lua is a language designed for embedded use in native applications. It
  has an impossibly elegant C API and the Lua language itself feels more
  like Python compared to alternatives like Tcl except it's a great deal
  faster and doesn't have strong opinions about character encoding.

PROVENANCE

  https://github.com/lua/lua/

  commit e7803f7dbcdc966ab1f9db143424ee811ab1a398
  Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
  Date:   Wed Mar 3 09:44:20 2021 -0300

      New release number (5.4.3)

  luac.c needed to be sourced from:
  https://www.lua.org/ftp/lua-5.4.3.tar.gz

LOCAL MODIFICATIONS

  Lua now uses a bestline REPL with bash-style code completion.

  Integer literals such as `033` will now be interpreted as octal.

  Integer literals such as `0b10` will now be interpreted as binary.

  The `\e` string literal escape sequence has been added, which is
  equivalent to `\27` (the Lua version of `\033`) or the ASCII ESC
  character. It may be used for teletypewriter control like having
  bold text, which can be encoded elegantly as `\e[1mHELLO\e[0m`.

  Added luaL_traceback2() for function parameters in traceback.

  Added Python-like printf modulus operator for strings.

  Added Python-like printf multiply operator for strings.