Rename project from Lua to Lush

Binary is now 'lush', library is 'liblush.a'. Version banner shows
"Lush 0.1.0" with original Lua copyright preserved. Adds LUSH_VERSION
defines and _LUSH_VERSION global. Internal C API names, env vars, and
default paths are unchanged for upstream compatibility.
This commit is contained in:
Cormac Shannon
2026-03-22 23:54:03 +00:00
parent 51b39930ed
commit 0df1b50adf
9 changed files with 27 additions and 17 deletions

12
lua.h
View File

@@ -1,6 +1,6 @@
/*
** $Id: lua.h $
** Lua - A Scripting Language
** Lush - A Shell built on Lua
** Lua.org, PUC-Rio, Brazil (www.lua.org)
** See Copyright Notice at the end of this file
*/
@@ -13,7 +13,15 @@
#include <stddef.h>
#define LUA_COPYRIGHT LUA_RELEASE " Copyright (C) 1994-2025 Lua.org, PUC-Rio"
#define LUSH_VERSION_MAJOR "0"
#define LUSH_VERSION_MINOR "1"
#define LUSH_VERSION_RELEASE "0"
#define LUSH_VERSION "Lush " LUSH_VERSION_MAJOR "." LUSH_VERSION_MINOR
#define LUSH_RELEASE LUSH_VERSION "." LUSH_VERSION_RELEASE
#define LUA_COPYRIGHT \
LUSH_RELEASE " Copyright (C) 2025 Nik" \
"\nBased on " LUA_RELEASE " Copyright (C) 1994-2025 Lua.org, PUC-Rio"
#define LUA_AUTHORS "R. Ierusalimschy, L. H. de Figueiredo, W. Celes"