Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | done reading lua_newstate | Kartik K. Agaram | 2021-10-24 | 1 | -1/+8 | |
| | ||||||
* | mildly less confusing | Kartik K. Agaram | 2021-10-24 | 1 | -1/+1 | |
| | ||||||
* | back to making sense of lua_newstate | Kartik K. Agaram | 2021-10-24 | 1 | -1/+1 | |
| | ||||||
* | get rid of userstate hooks | Kartik K. Agaram | 2021-10-24 | 5 | -21/+0 | |
| | ||||||
* | get rid of fromstate/tostate | Kartik K. Agaram | 2021-10-24 | 2 | -9/+4 | |
| | ||||||
* | get rid of state_size | Kartik K. Agaram | 2021-10-24 | 2 | -6/+5 | |
| | ||||||
* | get rid of LUAI_EXTRASPACE | Kartik K. Agaram | 2021-10-24 | 3 | -12/+17 | |
| | | | | | Lua's power may come from extensibility, but the indirections are currently in the way | |||||
* | trying to make sense of how bindings are created | Kartik K. Agaram | 2021-10-24 | 3 | -4/+2 | |
| | | | | | | lua_State contains these StkId fields (stack, stack_last, base, top) that expand to a pointer of a struct containing a Lua value and an int. Unclear how it's used, or how you build a stack out of it. | |||||
* | print's newline now returns to column 0 | Kartik K. Agaram | 2021-10-22 | 1 | -10/+7 | |
| | | | | | | | | | | At this point I'm done making this repo ncurses-ready. Remaining files that allude to stdin/stdout/stderr: lauxlib.c - unclear how these primitives should work; may kill them ldblib.c - unclear what debug experience should be liolib.c - might kill or simulate these luac.c - let the compiler continue to be a terminal program | |||||
* | drop lua_stdin_is_tty | Kartik K. Agaram | 2021-10-22 | 1 | -17/+0 | |
| | | | | luaconf.h now no longer refers to stdin/stdout/stderr. | |||||
* | drop support for '-' filename | Kartik K. Agaram | 2021-10-22 | 1 | -10/+3 | |
| | | | | lua.c now no longer refers to stdin/stdout/stderr. | |||||
* | ncurses I/O in lua.c | Kartik K. Agaram | 2021-10-22 | 1 | -10/+15 | |
| | | | | | | | | | | | | Currently working: > print(1) 1 > print(2) 2 Print's newline doesn't return to column 0 yet. Ctrl-d no longer works. Ctrl-c exits cleanly. | |||||
* | kill lua_readline abstraction | Kartik K. Agaram | 2021-10-22 | 2 | -6/+3 | |
| | ||||||
* | purge notion of commandline history | Kartik K. Agaram | 2021-10-22 | 2 | -4/+0 | |
| | ||||||
* | delete readline support | Kartik K. Agaram | 2021-10-22 | 2 | -22/+4 | |
| | | | | We're going to be using full-on ncurses. | |||||
* | clean up a few warnings with gcc 9.3.0 | Kartik K. Agaram | 2021-10-22 | 3 | -3/+3 | |
| | ||||||
* | new fork of Lua 5.1 | Kartik K. Agaram | 2021-10-22 | 56 | -0/+17145 | |
https://www.lua.org |