about summary refs log tree commit diff stats
path: root/src/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* libraries don't need Lua's `#define`s and whatnotKartik K. Agaram2021-11-251-2/+2
|
* teliva is now ASan-clean againKartik K. Agaram2021-11-251-2/+2
| | | | | | | | | At least in short runs. Encouraging that the problem was in a recent commit (5a63a5ca40 from yesterday when I introduced version control). Disabling Address Sanitizer again.
* temporarily start using the address sanitizerKartik K. Agaram2021-11-251-2/+2
|
* jettison luacKartik K. Agaram2021-11-251-12/+2
| | | | | | | | | I'm starting to see some heap buffer overruns, which means we have too much C code. I noticed this because editing life.tlv no longer works after commit 5a63a5ca4. However, the offending heap overrun has been around long before that. It's just been a silent bug until now.
* more Makefile streamliningKartik K. Agaram2021-11-241-8/+4
| | | | | | | | | | Since everything is in my control there's no need to parameterize include paths. It's a struggle to get make to run when it should. Lying that something is phony stops working when it's a dependency. Commands get unnecessarily run. Just fucking run recursive makes directly in the target that depends on them.
* standardize warning flags everywhereKartik K. Agaram2021-11-221-1/+1
| | | | | | | | | | I'd like to enable -Wextra as well, but that creates some false positives. I've at least made my changes clean w.r.t. -Wextra. Now we have 4 remaining warnings with gcc 9.3 that seem genuine. Need to fix those.
* standardize CFLAGSKartik K. Agaram2021-11-221-1/+1
| | | | | Adding -Wpedantic creates a new warning. Leaving it alone for now: https://stackoverflow.com/questions/31526876/casting-when-using-dlsym
* https now working!Kartik K. Agaram2021-11-211-4/+8
| | | | | | | | Still extremely ugly: - I've inlined all the namespaces under ssl, so you need to know that context and config are related to ssl. - luasec comes with its own copy of luasocket. I haven't deduped that yet.
* basic http requests starting to workKartik K. Agaram2021-11-211-4/+4
| | | | | In the process we're starting to load almost all of luasocket by default. And everything is working as expected, no unpleasant surprises.
* luasocket now loading properlyKartik K. Agaram2021-11-201-5/+5
| | | | I still haven't tried actually running it.
* renameKartik K. Agaram2021-11-201-1/+1
|
* inline luasocketKartik K. Agaram2021-11-201-1/+6
| | | | Just builds for now, isn't available yet to Lua code.
* inline lcurses maximally rather than minimallyKartik K. Agaram2021-11-191-1/+5
| | | | | | | | | Until now we had just the bare minimum bindings needed for the demos built so far. Now we have all of lcurses building in place with minimal changes. The changes in this commit can run hanoi.lua when inlined into Lua 5.1, but don't work with Teliva.
* tested on Mac OSKartik K. Agaram2021-11-141-1/+1
|
* instrumenting function calls with their depthKartik K. Agaram2021-11-131-1/+1
|
* game of lifeKartik K. Agaram2021-11-061-1/+1
| | | | | This required me to figure out some unicode-related nuances, but no new primitives.
* readme and docsKartik K. Agaram2021-11-051-1/+1
|
* stitch editor inKartik K. Agaram2021-11-051-1/+2
|
* starting on curses libraryKartik K. Agaram2021-11-051-2/+2
| | | | | | | | | | | | | | | First piece of working new vocabulary: print(curses:cols()) Just pulling in code from lcurses for the most part. But I'm trying to understand its internals as I gradually add them in, after my more blunt first approach of packaging up lcurses/ext failed. Overall plan for Teliva's API: - start out with a 'curses' library that does what people who are used to ncurses/lcurses expect. - over time create a more opinionated library called 'screen' or 'window' or something.
* delete readline supportKartik K. Agaram2021-10-221-3/+3
| | | | We're going to be using full-on ncurses.
* clean up a few warnings with gcc 9.3.0Kartik K. Agaram2021-10-221-1/+1
|
* new fork of Lua 5.1Kartik K. Agaram2021-10-221-0/+182
https://www.lua.org