-
5284174cb3
Add language guide to README covering all lush features
main
Cormac Shannon
2026-03-23 22:05:45 +00:00
-
440d02cfbd
Rename: _LUSH_VERSION to _VERSION_LUSH
Cormac Shannon
2026-03-23 19:10:43 +00:00
-
cf8022c740
Move _LUSH_VERSION global into luaopen_base alongside _VERSION
Cormac Shannon
2026-03-23 19:01:50 +00:00
-
0df1b50adf
Rename project from Lua to Lush
Cormac Shannon
2026-03-22 23:54:03 +00:00
-
51b39930ed
Fix lush tests to work from testes/ directory (via all.lua)
Cormac Shannon
2026-03-22 23:17:17 +00:00
-
cca6749d4d
Rename lush Lua API: command→capture, subcmd→run, getenv→envget, setenv→envset
Cormac Shannon
2026-03-22 18:58:59 +00:00
-
daccad3c45
Make lush.interactive() return the result table in addition to setting _
Cormac Shannon
2026-03-22 18:49:29 +00:00
-
917509aa8a
Refactor lush tests: remove duplication, fill coverage gaps, wire into all.lua
Cormac Shannon
2026-03-22 17:58:09 +00:00
-
9bc7dc01b7
Refactor: extract lookup_lush_func, reorder helpers, eliminate forward decl
Cormac Shannon
2026-03-22 17:04:02 +00:00
-
973dd90d65
Add user-defined commands via lush.commands table (issue #30)
Cormac Shannon
2026-03-21 19:34:29 +00:00
-
fbb7b441c3
Refactor(builtins): Move luaopen_builtins from linit to lcmd
Cormac Shannon
2026-03-20 23:16:00 +00:00
-
4c23bc6d87
Update(issue): mark aliases as done
Cormac Shannon
2026-03-20 22:58:35 +00:00
-
68a5273094
Add shell aliases via lush.aliases table (issue #28)
Cormac Shannon
2026-03-20 22:58:01 +00:00
-
e115a061bc
Remove integer keys from lush table, use string lookups (issue #29)
Cormac Shannon
2026-03-20 21:32:38 +00:00
-
5c1eca312f
Add(issue): lush table cleanup
Cormac Shannon
2026-03-20 00:59:11 +00:00
-
8a61a47543
Add(plan): aliases
Cormac Shannon
2026-03-20 00:46:12 +00:00
-
02df45b18f
Fix config/prompt tests to use config.lua extension
Cormac Shannon
2026-03-18 09:54:18 +00:00
-
768de9fe8b
Expose lush global as a standard library (issue #26)
Cormac Shannon
2026-03-18 09:52:56 +00:00
-
1766e40a68
Implement $(cmd) subcommand syntax in commands (issue #27)
Cormac Shannon
2026-03-18 09:29:51 +00:00
-
42baabde34
Implement $VAR expansion in commands (issue #25)
Cormac Shannon
2026-03-18 08:35:46 +00:00
-
635569961e
Fix(lua.c): Accept config.lua/.lush files
Cormac Shannon
2026-03-17 18:59:49 +00:00
-
8b1b3578ed
Fix: c99 compliance issue in llex
Cormac Shannon
2026-03-17 18:57:47 +00:00
-
bad40fb65b
Standardize issue status labels to done/open/in progress
Cormac Shannon
2026-03-15 19:33:49 +00:00
-
08df164692
Add issues #25, #26, #27; update #7 and #22 statuses
Cormac Shannon
2026-03-15 19:33:19 +00:00
-
5135b16375
Unify command tokens: remove TK_COMMAND_INTERP and TK_INTERACTIVE_INTERP
Cormac Shannon
2026-03-12 23:01:31 +00:00
-
f09a033160
Replace upvalue-based shell dispatch with OP_LUSH opcode
Cormac Shannon
2026-03-12 22:47:25 +00:00
-
f88b17959f
Hide shell functions from _G using upvalues on the main chunk
Cormac Shannon
2026-03-12 22:46:56 +00:00
-
34bfabccbd
Expand issue #23 with detailed cleanup analysis; close issues #5 and #24
Cormac Shannon
2026-03-12 19:26:05 +00:00
-
c556928d0a
Add compatibility test script for third-party Lua projects (issue #24)
Cormac Shannon
2026-03-12 19:04:21 +00:00
-
0cfd327180
Update: issue 24
Cormac Shannon
2026-03-10 23:53:08 +00:00
-
ecab5ca6c7
Issue: lua test compatibility
Cormac Shannon
2026-03-10 21:44:37 +00:00
-
f49a73bc52
Close issues #13 and #18
Cormac Shannon
2026-03-10 21:35:48 +00:00
-
a43fd10e64
Implement shell globbing, tilde expansion, and brace expansion (issues #13, #18)
Cormac Shannon
2026-03-10 21:31:55 +00:00
-
c96fae90c0
Fix nested commands in interactive mode triggering prompt2 (issue #19)
Cormac Shannon
2026-03-05 00:13:34 +00:00
-
b3aa1d9c63
Redesign prompt system: revert #09, use standard _PROMPT (issue #21)
Cormac Shannon
2026-03-04 23:53:04 +00:00
-
9e75175c79
Add issues #16–#23
Cormac Shannon
2026-03-04 23:28:11 +00:00
-
4cc352cbec
Implement shell builtins: cd, exec, umask (issue #15)
Cormac Shannon
2026-03-04 19:20:42 +00:00
-
e8756d5d78
Implement programmable prompt (issue #09)
Cormac Shannon
2026-03-03 23:19:09 +00:00
-
bbc0f24009
Implement startup configuration file support (issue #08)
Cormac Shannon
2026-03-03 22:59:51 +00:00
-
db858b3f68
Implement prefix-based interactive commands via ! (issue #14)
Cormac Shannon
2026-03-02 22:06:29 +00:00
-
75098da240
Add issue #14: prefix-based interactive commands via !
Cormac Shannon
2026-03-02 21:16:06 +00:00
-
0d23741891
Add issue #13: shell globbing (*, ?, **, {a,b}, [abc])
Cormac Shannon
2026-03-02 00:37:13 +00:00
-
d0181e685d
Implement piping between commands in backtick syntax (issue #06)
Cormac Shannon
2026-03-01 22:17:30 +00:00
-
41b2095ed9
Rewrite issue #10 for scripts+REPL, add issue #12, add interactive command tests
Cormac Shannon
2026-03-01 19:35:09 +00:00
-
af8300aa40
Make Ctrl-C clear line and re-prompt in REPL instead of exiting
Cormac Shannon
2026-02-28 23:34:22 +00:00
-
47abb04921
Rewrite issue #10, add issue #11 (Ctrl-C REPL behaviour)
Cormac Shannon
2026-02-28 23:20:55 +00:00
-
84b9aeb7e9
Auto-detect platform in makefiles and test runner
Cormac Shannon
2026-02-28 19:27:14 +00:00
-
27f16b126d
Add lush feature tests and fix /dev/full test for macOS
Cormac Shannon
2026-02-28 19:07:00 +00:00
-
4b49907ce7
Update project issues: resolve #02-#04, add #08-#10
Cormac Shannon
2026-02-28 18:27:55 +00:00
-
39d6cc95cb
Add command execution runtime (lcmd.c, lcmd.h)
Cormac Shannon
2026-02-28 18:27:42 +00:00
-
882a90be48
Add environment variable access with $NAME syntax
Cormac Shannon
2026-02-28 18:08:09 +00:00
-
a773398cab
Compile backtick commands as __command() calls with ${} interpolation
Cormac Shannon
2026-02-19 20:00:15 +00:00
-
db6f39a2a4
Add project issues for lush (Lua + shell) features
Cormac Shannon
2026-02-18 19:08:51 +00:00
-
4cf498210e
'__pairs' can also return a to-be-closed object
Roberto I
2025-11-11 15:11:06 -03:00
-
5b7d998764
External strings are as good as internal ones
Roberto I
2025-11-11 14:40:30 -03:00
-
81f4def54f
Correction in line info for semantic errors
Roberto I
2025-11-11 14:36:16 -03:00
-
e44f3a2ffc
Global initialization checks name conflict
Roberto I
2025-11-08 11:43:42 -03:00
-
f791bb6906
Details
Roberto I
2025-10-31 14:48:55 -03:00
-
d342328e5b
Vertical bar removed from syntax of vararg table
Roberto I
2025-10-30 11:07:01 -03:00
-
0149b781d4
Case VVARGIND added to luaK_storevar
Roberto Ierusalimschy
2025-10-30 10:39:55 -03:00
-
d4eff00234
Fixed initialization of global variables
Roberto I
2025-10-29 13:14:48 -03:00
-
fca974486d
Small change in 'trymt'
Roberto I
2025-10-18 10:34:42 -03:00
-
26755cad99
Added "attribute internal" to __MACH__ platforms
Roberto I
2025-10-18 10:30:12 -03:00
-
b352217b84
Standard allocator function added to the API
Roberto I
2025-10-17 13:53:35 -03:00
-
9c66903cc5
Details
Roberto I
2025-10-14 13:50:24 -03:00
-
30a7b93439
Two new memory tests
Roberto I
2025-10-12 15:13:28 -03:00
-
7a92f3f99a
Change in dumping of NULL strings
Roberto I
2025-10-10 15:28:41 -03:00
-
3347c9d32d
Initialization of too many locals break assertion
Roberto I
2025-10-10 13:22:19 -03:00
-
25c54fe60e
Optimization for vararg tables
Roberto I
2025-09-24 18:33:08 -03:00
-
0cc3c9447c
Small tweaks in makefile
Roberto I
2025-09-18 11:03:55 -03:00
-
8fb1af0e33
Varag parameter is a new kind of variable
Roberto I
2025-09-17 16:07:48 -03:00
-
140b672e2e
Vararg table
Roberto I
2025-09-16 13:26:24 -03:00
-
9ea06e61f2
Details
Roberto I
2025-09-05 15:36:47 -03:00
-
ffbcadfb41
In C++, 'throw' must go to the correct handler.
Roberto I
2025-09-05 15:29:15 -03:00
-
0b73ed8f08
Allows LUA_32BITS to be defined externally
Roberto Ierusalimschy
2025-08-30 16:16:02 -03:00
-
f87416f1a3
Added limit to number of elements in a constructor
Roberto I
2025-08-27 10:30:54 -03:00
-
03a3473687
'ltests.h' should not use LUAI_FUNC
Roberto I
2025-08-27 10:28:31 -03:00
-
9a3940380a
New compile option LUA_USE_OFF_T
Roberto Ierusalimschy
2025-08-26 12:30:34 -03:00
-
711890624f
update in 'onelua.c'
Roberto Ierusalimschy
2025-08-26 12:30:05 -03:00
-
13d2326a23
Some definitions moved from luaconf.h to llimits.h
Roberto Ierusalimschy
2025-08-21 10:51:17 -03:00
-
06c5d3825f
Removed code for compatibility with version 5.3
Roberto I
2025-08-20 16:10:54 -03:00
-
c345877e4c
Better documentation for LUA_ERRERR
Roberto I
2025-08-20 15:29:46 -03:00
-
907d172c11
Added lock/unlock to API function 'lua_rawlen'
Roberto I
2025-08-20 15:00:53 -03:00
-
88aa4049ad
Keep the order left-right in shifts
Roberto I
2025-08-20 14:31:07 -03:00
-
c688b00f73
Detail in 'obj2gco'
Roberto I
2025-08-20 14:18:12 -03:00
-
dd095677e3
Small cleaning services
Roberto I
2025-08-20 13:59:08 -03:00
-
53dc5a3bba
Functions 'frexp'-'ldexp' back to the math library
Roberto I
2025-08-09 15:15:20 -03:00
-
5b179eaf6a
Details
Roberto I
2025-08-09 15:08:53 -03:00
-
8fddca81e7
'onelua' can use the test library
Roberto Ierusalimschy
2025-07-29 14:35:04 -03:00
-
c33bb08ffe
Added some casts for 32-bit machines
Roberto Ierusalimschy
2025-07-29 11:50:20 -03:00
-
e3716ee161
Fix in string.rep
Roberto Ierusalimschy
2025-07-23 18:12:53 -03:00
-
303f415559
Randomness added to table length computation
Roberto Ierusalimschy
2025-07-18 16:18:30 -03:00
-
ccb8b307f1
Correction in utf8.offset
Roberto Ierusalimschy
2025-07-18 16:10:28 -03:00
-
60b6599e83
Short strings can be external, too
Roberto Ierusalimschy
2025-07-15 14:40:27 -03:00
-
c612685d4b
lua.c doesn't use function pointers with LUA_READLINE
Roberto Ierusalimschy
2025-07-09 14:43:31 -03:00
-
85a3c1699c
New method to unload DLLs
Roberto Ierusalimschy
2025-07-09 14:40:36 -03:00
-
f65d1f9e02
lua option '--' may not be followed by script
Roberto Ierusalimschy
2025-07-08 15:40:59 -03:00
-
942c10a5e3
Optional initialization for global declarations
Roberto Ierusalimschy
2025-07-08 13:33:57 -03:00
-
8485687908
Correction in definition of CIST_FRESH
Roberto Ierusalimschy
2025-07-07 15:03:45 -03:00
-
03d672a95c
Details (comments)
Roberto Ierusalimschy
2025-07-07 15:02:09 -03:00