mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-07 19:58:30 +00:00
Add lua repl interface to redbean
You can now interact with the global web server state on the command line, which the web server is running. This supports Emacs shortcuts with history, readline parity, <tab> completions, plus hints. Enjoy!
This commit is contained in:
parent
f6b6204b9e
commit
a6b02ce5a6
24 changed files with 848 additions and 463 deletions
|
@ -31,6 +31,7 @@
|
|||
#include "libc/fmt/fmt.h"
|
||||
#include "libc/fmt/itoa.h"
|
||||
#include "libc/intrin/kprintf.h"
|
||||
#include "libc/intrin/nomultics.internal.h"
|
||||
#include "libc/log/check.h"
|
||||
#include "libc/log/log.h"
|
||||
#include "libc/mem/mem.h"
|
||||
|
@ -66,9 +67,6 @@
|
|||
#define PIPE 11
|
||||
#define OCTAL 0x80
|
||||
|
||||
extern bool __replmode;
|
||||
extern bool __nomultics;
|
||||
|
||||
static const long __NR_brk = 12;
|
||||
static const long __NR_sigreturn = 15;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue