mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-10-26 03:00:57 +00:00
- Invent openatemp() API - Invent O_UNLINK open flag - Introduce getenv_secure() API - Remove `git pull` from cosmocc - Fix utimes() when path is NULL - Fix mktemp() to never return NULL - Fix utimensat() UTIME_OMIT on XNU - Improve utimensat() code for RHEL5 - Turn `argv[0]` C:/ to /C/ on Windows - Introduce tmpnam() and tmpnam_r() APIs - Fix more const issues with internal APIs - Permit utimes() on WIN32 in O_RDONLY mode - Fix fdopendir() to check fd is a directory - Fix recent crash regression in landlock make - Fix futimens(AT_FDCWD, NULL) to return EBADF - Use workaround so `make -j` doesn't fork bomb - Rename dontdiscard to __wur (just like glibc) - Fix st_size for WIN32 symlinks containing UTF-8 - Introduce stdio ext APIs needed by GNU coreutils - Fix lstat() on WIN32 for symlinks to directories - Move some constants from normalize.inc to limits.h - Fix segv with memchr() and memcmp() overlapping page - Implement POSIX fflush() behavior for reader streams - Implement AT_SYMLINK_NOFOLLOW for utimensat() on WIN32 - Don't change read-only status of existing files on WIN32 - Correctly handle `0x[^[:xdigit:]]` case in strtol() functions |
||
|---|---|---|
| .. | ||
| test | ||
| cosmo.h | ||
| lapi.c | ||
| lapi.h | ||
| lauxlib.c | ||
| lauxlib.h | ||
| lbaselib.c | ||
| lcode.c | ||
| lcode.h | ||
| lcorolib.c | ||
| lctype.h | ||
| ldblib.c | ||
| ldebug.c | ||
| ldebug.h | ||
| ldo.c | ||
| ldo.h | ||
| ldump.c | ||
| lfunc.c | ||
| lfunc.h | ||
| lgc.c | ||
| lgc.h | ||
| linit.c | ||
| liolib.c | ||
| ljumptab.inc | ||
| llex.c | ||
| llex.h | ||
| llimits.h | ||
| llock.c | ||
| lmathlib.c | ||
| lmem.c | ||
| lmem.h | ||
| loadlib.c | ||
| lobject.c | ||
| lobject.h | ||
| lopcodes.c | ||
| lopcodes.h | ||
| lopnames.inc | ||
| loslib.c | ||
| lparser.c | ||
| lparser.h | ||
| lprefix.h | ||
| lrepl.c | ||
| lrepl.h | ||
| lstate.c | ||
| lstate.h | ||
| lstring.c | ||
| lstring.h | ||
| lstrlib.c | ||
| ltable.c | ||
| ltable.h | ||
| ltablib.c | ||
| ltests.c | ||
| ltests.h | ||
| ltm.c | ||
| ltm.h | ||
| lua.h | ||
| lua.main.c | ||
| lua.mk | ||
| luac.main.c | ||
| luacallwithtrace.c | ||
| luaconf.h | ||
| luaencodejsondata.c | ||
| luaencodeluadata.c | ||
| luaencodeurl.c | ||
| luaformatstack.c | ||
| lualib.h | ||
| luaparseurl.c | ||
| luaprintstack.c | ||
| luapushheader.c | ||
| luapushheaders.c | ||
| luapushlatin1.c | ||
| luapushurlparams.c | ||
| lundump.c | ||
| lundump.h | ||
| lunix.c | ||
| lunix.h | ||
| lutf8lib.c | ||
| lvm.c | ||
| lvm.h | ||
| lzio.c | ||
| lzio.h | ||
| README.cosmo | ||
| serialize.c | ||
| tms.h | ||
| visitor.c | ||
| visitor.h | ||
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.