Cormac Shannon 41b2095ed9 Rewrite issue #10 for scripts+REPL, add issue #12, add interactive command tests
Redesign issue #10: bare-word commands now work in both scripts and
the REPL via a parser-level heuristic (identifier + non-exception-list
token → shell command). Add runtime fallback for string-arg syntax
(echo "hello"), double-dash flag handling, and classification examples.

Add issue #12 for path-based command execution (./script, /bin/ls, ~/bin/deploy).

Add testes/lush/commands-interactive.lua as a design playground covering
result table structure, exit codes, commands inside Lua blocks, _ behaviour,
runtime fallback, Lua variable shadowing, and interleaved Lua/shell.
2026-03-01 19:35:09 +00:00
2025-09-05 15:36:47 -03:00
2025-06-13 14:08:38 -03:00
2025-07-07 15:02:09 -03:00
2020-09-03 09:52:43 -03:00
2025-06-12 11:15:09 -03:00
2025-10-10 15:28:41 -03:00
2025-08-20 13:59:08 -03:00
2025-01-06 12:41:39 -03:00
2025-08-26 12:30:34 -03:00
2025-09-05 15:36:47 -03:00
2025-07-15 14:40:27 -03:00
2025-07-29 11:50:20 -03:00
2025-09-05 15:36:47 -03:00
2025-09-24 18:33:08 -03:00
2020-04-23 14:48:15 -03:00
2025-06-12 11:15:09 -03:00
2025-10-14 13:50:24 -03:00
2025-10-14 13:50:24 -03:00
2025-10-18 10:34:42 -03:00
2025-08-09 15:08:53 -03:00
2025-07-29 14:35:04 -03:00
2025-10-31 14:48:55 -03:00
2025-09-24 18:33:08 -03:00
2025-09-05 15:36:47 -03:00
2025-10-10 15:28:41 -03:00
2025-10-31 14:48:55 -03:00
2025-01-16 11:51:16 -03:00
2024-06-20 13:43:33 -03:00
2024-07-27 13:32:59 -03:00
2025-08-26 12:30:05 -03:00
2020-12-02 15:13:13 -03:00

Lua

This is the repository of Lua development code, as seen by the Lua team. It contains the full history of all commits but is mirrored irregularly. For complete information about Lua, visit Lua.org.

Please do not send pull requests. To report issues, post a message to the Lua mailing list.

Download official Lua releases from Lua.org.

Description
No description provided
Readme 13 MiB
Languages
C 66.7%
Lua 32.6%
Makefile 0.6%
Shell 0.1%