about summary refs log tree commit diff stats
path: root/apps/tile
Commit message (Collapse)AuthorAgeFilesLines
* 7165Kartik Agaram2020-11-031-1/+1
| | | | | All tasks of https://github.com/akkartik/mu/issues/45#issuecomment-719990879 should now be complete.
* 7159 - explicitly use 'return' everywhereKartik Agaram2020-11-0211-399/+360
| | | | https://github.com/akkartik/mu/issues/45#issuecomment-719990879, task 2.
* 7156Kartik Agaram2020-11-011-2/+2
|
* 7140Kartik Agaram2020-10-291-0/+11
|
* 7129 - tile: allow bindings anywhereKartik Agaram2020-10-271-7/+7
| | | | | | | | | | Amazing how easy this was. And it does feel more intuitive. If I decide at some point that I want to bind something to a name I don't usually want to lose the entire line after that point. It also sidesteps for now the thorny question of whether to permit organically switching to a new line (rather than using the 'name value' hotkey), and how that should work.
* 7128Kartik Agaram2020-10-271-5/+11
| | | | More consistent spacing in sandbox render.
* 7127Kartik Agaram2020-10-271-1/+1
|
* 7126Kartik Agaram2020-10-271-5/+5
|
* 7125 - tile: fade out values on the stackKartik Agaram2020-10-271-4/+1
|
* 7124 - tiles: better 'lines' primitiveKartik Agaram2020-10-272-14/+19
|
* 7123 - tile: truncate string if necessaryKartik Agaram2020-10-263-3/+30
|
* 7122 - tile: styling for stringsKartik Agaram2020-10-261-1/+6
|
* 7121Kartik Agaram2020-10-261-5/+11
| | | | | | | Starting to polish 'line-count' demo: filename line-count = filename open lines len
* 7120 - tile: array of lines from fileKartik Agaram2020-10-263-1/+77
| | | | Requires a quick hacky change to Mu compiler.
* 7119 - tile: new primitive to slurp file contentsKartik Agaram2020-10-262-1/+41
| | | | | Stack display is messed up when file contents contain newlines. Ignoring that for now.
* 7118Kartik Agaram2020-10-261-3/+5
|
* 7117Kartik Agaram2020-10-261-2/+4
|
* 7116 - tile: regression in typing in stringsKartik Agaram2020-10-262-55/+46
| | | | We really need to clean up the Mu compiler's logic around function outputs.
* 7115Kartik Agaram2020-10-262-6/+6
|
* 7113Kartik Agaram2020-10-261-2/+12
|
* 7112 - tile: arrays of non-integersKartik Agaram2020-10-264-73/+125
|
* 7111Kartik Agaram2020-10-261-36/+41
|
* 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.
* 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-254-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-253-7/+4
| | | | This found several bugs due to me not checking for null strings.
* 7100 - tile: render string literalsKartik Agaram2020-10-254-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.