about summary refs log tree commit diff stats
path: root/apps/tile/table.mu
Commit message (Collapse)AuthorAgeFilesLines
* 7297 - tile: use floats everywhereKartik Agaram2020-11-291-3/+3
|
* 7226Kartik Agaram2020-11-111-18/+0
|
* 7225Kartik Agaram2020-11-111-10/+44
| | | | | | | Both manual tests described in commit 7222 now work. To make them work I had to figure out how to copy a file. It requires a dependency on a new syscall: lseek.
* 7221Kartik Agaram2020-11-091-62/+0
| | | | | I can't get file values to exhibit the same problem. Why are fake screens special?
* 7219Kartik Agaram2020-11-091-36/+36
| | | | We're still busted, but on the right track.
* 7218Kartik Agaram2020-11-091-0/+93
| | | | | | | | | | | | | | | This bug was incredibly painful to track down: the one-line fix is to replace 'line' with 'first-line' in the call to 'evaluate' in render-line before recursing. Things that made it challenging: - A high degree of coiling with recursive calls and multiple places of evaluation. - An accidental aliasing in bindings (when rendering the main column in render-line) that masked the underlying bug and made things seem to work most of the time. - Too many fucking arguments to render-line, a maze of twisty line objects all alike.
* 7215Kartik Agaram2020-11-071-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Attempt #3: always create a copy of the bindings before each column/evaluate. The details are fuzzy in my head, but it seemed worth trying. I figured I'd either see the old duplication behavior or everything will work. Instead I'm seeing new problems. commit 7208: 5 5 fake-screen =s s 1 down 1 right expected: | - observed: | | - commit 7210-7212: 5 5 fake-screen =s s 1 down 1 right [define foo] s foo [expand foo] observed: no bindings available when rendering foo expanded commit 7213: 5 5 fake-screen =s s 1 down 1 right [define foo] s foo [expand foo] expected within foo: | - observed within foo: | | - commit 7215: 5 5 fake-screen =s s 1 down 1 right [define foo] s foo [expand foo] observed: no bindings available when rendering foo expanded
* 7214 - undo 7213Kartik Agaram2020-11-071-5/+6
| | | | | | | | | | Turns out even that doesn't work. There are two distinct use cases here: 1. Keeping columns from infecting each other. 2. Expanding function calls. Perhaps ping-ponging between them is a sign I need tests.
* 7213 - redo the bugfix of 7210Kartik Agaram2020-11-071-6/+5
| | | | | | | | It turns out deciding when to initialize the table of bindings is quite a thorny problem in the presence of function calls (since they need their args bound). In time I should probably support a linked list of tables. For now I'll just continue to reuse tables, but perform lookups in reverse order so that the correct binding is always returned.
* 7159 - explicitly use 'return' everywhereKartik Agaram2020-11-021-1/+3
| | | | https://github.com/akkartik/mu/issues/45#issuecomment-719990879, task 2.
* 7105 - tile: define-function works with stringsKartik Agaram2020-10-251-10/+0
|
* 7104 - tile: word-rename works with stringsKartik Agaram2020-10-251-1/+21
|
* 7099Kartik Agaram2020-10-251-1/+1
|
* 6871Kartik Agaram2020-09-261-0/+1
| | | | Segfault now fixed. Everything seems to be working again.
* 6870Kartik Agaram2020-09-261-11/+7
| | | | | | Emit a stack of not ints but more complex objects containing the int payload. Function calls again segfaulting.
* 6868Kartik Agaram2020-09-261-2/+37
| | | | First function call working in apps/tile!
* 6860Kartik Agaram2020-09-261-5/+5
| | | | | Snapshot: tile currently segfaulting. I need to back up and make it easier to debug.
* 6859Kartik Agaram2020-09-251-0/+47