about summary refs log tree commit diff stats
path: root/counter.tlv
Commit message (Collapse)AuthorAgeFilesLines
* monotonically accumulate versions of definitionsKartik K. Agaram2021-11-241-6/+21
| | | | | | | | | | | One old drawback now has a new look. Before, we loaded definitions in order, so global definitions had to exist before other global definitions that used them. See window and grid in life.tlv. Now we load definitions in reverse order, so initialization needs to change. Worse, if we update window, we need to edit grid just to fix the order. This implies that we can't yet optimize away bindings where there are no new changes.
* indentKartik K. Agaram2021-11-231-6/+6
|
* consistent styleKartik K. Agaram2021-11-231-6/+3
|
* slightly more robust on-disk formatKartik K. Agaram2021-11-141-9/+9
| | | | | | Looks like Lua supports a little bit of programmability in its multi-line string literals. Even though I can't find this documented anywhere.
* .Kartik K. Agaram2021-11-101-25/+25
|
* new .tlv image formatKartik K. Agaram2021-11-101-0/+37
Plan is for this to be the default representation for Teliva programs. Text-friendly but not meant to be edited directly as text. Will eventually include both code and data definitions, both current snapshot and past revision history. Right now .tlv files seem to run. Error checking is non-existent, because I don't understand Lua's idioms around 'status' yet. Opening the editor expectedly segfaults. This commit is the most mind-bending bit of code I've written in a long time.