about summary refs log tree commit diff stats
path: root/apps
Commit message (Collapse)AuthorAgeFilesLines
* 7110Kartik Agaram2020-10-261-0/+54
| | | | | | | | | | Some more helpers that I want to avoid using, but they help me gain confidence in the current implementation of file handles. Manual test: "x" open dup read swap read Assumes there's a file called `x` in the current directory that contains at least two (short!) lines.
* 7109Kartik Agaram2020-10-252-1/+1
| | | | | | | | | | | | | | | | | | | Turns out I've been including some unnecessary files when building apps/mu! Treeshaken stats before: LoC 26258 => 9717 LoC including common libraries: 29736 => 12719 binary size: 406K => 79K After: LoC 26258 => 9717 LoC including common libraries: 28322 => 12370 binary size: 406K => 77K So our treeshaking isn't perfect. No surprise there.. The treeshaken build also starts to fail without the one-liner change to mu.subx, which looks like a bug in the treeshaker.
* 7108 - tile: read from file handleKartik Agaram2020-10-251-0/+36
|
* 7107 - tile: file handlesKartik Agaram2020-10-254-1/+65
|
* 7106 - tile: arrays of intsKartik Agaram2020-10-255-25/+145
|
* 7105 - tile: define-function works with stringsKartik Agaram2020-10-253-22/+37
|
* 7104 - tile: word-rename works with stringsKartik Agaram2020-10-252-4/+32
|
* 7103 - tile: first primitive for stringsKartik Agaram2020-10-254-1/+58
|
* 7102Kartik Agaram2020-10-251-3/+13
|
* 7101 - tile: remove quotes when evaluating stringsKartik Agaram2020-10-2516-7/+4
| | | | This found several bugs due to me not checking for null strings.
* 7100 - tile: render string literalsKartik Agaram2020-10-255-10/+71
|
* 7099Kartik Agaram2020-10-253-7/+6
|
* 7098 - tile: string valuesKartik Agaram2020-10-255-15/+38
| | | | Strings can contain spaces.
* .Kartik Agaram2020-10-241-11/+8
|
* tile: process space in middle of wordKartik Agaram2020-10-243-1/+28
|
* tile: process space at start of wordKartik Agaram2020-10-244-9/+148
| | | | | | This was very difficult to debug. We still need to process space in the middle of a word.
* tile: adjust spacing between commandline and stackKartik Agaram2020-10-231-1/+1
|
* 7087 - defining functions now seems to be workingKartik Agaram2020-10-203-23/+36
|
* 7086Kartik Agaram2020-10-202-22/+68
| | | | | Expanding words now seems to be working. I was forgetting to update 'prev' pointers in a few places.
* 7085Kartik Agaram2020-10-201-28/+28
|
* 7084Kartik Agaram2020-10-201-2/+7
| | | | | | | | | Cursor now updating right. Still a couple of bugs: ctrl-e doesn't know about multiple lines function calls don't expand right in multi-line sandboxes (but at least I'm now getting to see them in action!)
* 7083Kartik Agaram2020-10-202-2/+43
| | | | | Defining functions mostly working. But we still need to fix the cursor afterwards.
* 7082Kartik Agaram2020-10-201-8/+9
|
* 7081Kartik Agaram2020-10-202-8/+37
| | | | | Defining new functions seems to be working. _However_, we aren't yet detecting duplicates. `x x *` leads to a declaration of `x x f`.
* 7080Kartik Agaram2020-10-204-6/+79
| | | | | Constructing new functions with ctrl-d is now working right. But the call seems exactly flipped.
* 7079Kartik Agaram2020-10-194-1/+96
|
* 7078Kartik Agaram2020-10-191-1/+39
|
* 7077 - tile: render function listKartik Agaram2020-10-192-12/+53
|
* 7066 - tile: some more primitives for testingKartik Agaram2020-10-193-0/+93
| | | | | Lesson learned: functions store args in _reverse_ order. Since evaluation is very frequent, it's worth optimizing for it.
* 7065Kartik Agaram2020-10-191-4/+5
|
* 7064Kartik Agaram2020-10-191-16/+25
|
* 7063 - tile: scaffolding for defining functionsKartik Agaram2020-10-183-6/+121
|
* 7062Kartik Agaram2020-10-181-1/+1
|
* 7061Kartik Agaram2020-10-182-4/+4
|
* 7060 - tile: renaming variables now worksKartik Agaram2020-10-181-9/+10
|
* 7059Kartik Agaram2020-10-183-21/+139
| | | | | Cursor now in the right place after rename. But stack still doesn't show the value of a name.
* 7058Kartik Agaram2020-10-183-23/+97
| | | | | Snapshot; things seem to be working besides ctrl-r, but we aren't yet rendering only the final line.
* 7057 - tile: back to namesKartik Agaram2020-10-181-5/+44
| | | | We can now create new bindings for names while evaluating lines.
* 7056 - orange-pinkKartik Agaram2020-10-181-3/+8
|
* 7055Kartik Agaram2020-10-181-4/+8
|
* 7054Kartik Agaram2020-10-181-0/+49
|
* 7053Kartik Agaram2020-10-174-10/+100
| | | | | Rename seems to now be working. State still isn't rendered right, so we can't be sure.
* 7052Kartik Agaram2020-10-172-4/+4
|
* 7051Kartik Agaram2020-10-171-1/+3
|
* 7050Kartik Agaram2020-10-171-2/+13
|
* 7049Kartik Agaram2020-10-171-3/+1
|
* 7048Kartik Agaram2020-10-171-2/+2
|
* 7047Kartik Agaram2020-10-171-0/+24
|
* 7046 - start of flow for naming wordsKartik Agaram2020-10-172-2/+126
| | | | | Names don't stick yet, but we have a scaffolding for printing a dialog and accepting input.
* 7045Kartik Agaram2020-10-161-37/+42
|