Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 7110 | Kartik Agaram | 2020-10-26 | 1 | -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. | ||||
* | 7109 | Kartik Agaram | 2020-10-25 | 2 | -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 handle | Kartik Agaram | 2020-10-25 | 1 | -0/+36 |
| | |||||
* | 7107 - tile: file handles | Kartik Agaram | 2020-10-25 | 4 | -1/+65 |
| | |||||
* | 7106 - tile: arrays of ints | Kartik Agaram | 2020-10-25 | 5 | -25/+145 |
| | |||||
* | 7105 - tile: define-function works with strings | Kartik Agaram | 2020-10-25 | 3 | -22/+37 |
| | |||||
* | 7104 - tile: word-rename works with strings | Kartik Agaram | 2020-10-25 | 2 | -4/+32 |
| | |||||
* | 7103 - tile: first primitive for strings | Kartik Agaram | 2020-10-25 | 4 | -1/+58 |
| | |||||
* | 7102 | Kartik Agaram | 2020-10-25 | 1 | -3/+13 |
| | |||||
* | 7101 - tile: remove quotes when evaluating strings | Kartik Agaram | 2020-10-25 | 16 | -7/+4 |
| | | | | This found several bugs due to me not checking for null strings. | ||||
* | 7100 - tile: render string literals | Kartik Agaram | 2020-10-25 | 5 | -10/+71 |
| | |||||
* | 7099 | Kartik Agaram | 2020-10-25 | 3 | -7/+6 |
| | |||||
* | 7098 - tile: string values | Kartik Agaram | 2020-10-25 | 5 | -15/+38 |
| | | | | Strings can contain spaces. | ||||
* | . | Kartik Agaram | 2020-10-24 | 1 | -11/+8 |
| | |||||
* | tile: process space in middle of word | Kartik Agaram | 2020-10-24 | 3 | -1/+28 |
| | |||||
* | tile: process space at start of word | Kartik Agaram | 2020-10-24 | 4 | -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 stack | Kartik Agaram | 2020-10-23 | 1 | -1/+1 |
| | |||||
* | 7087 - defining functions now seems to be working | Kartik Agaram | 2020-10-20 | 3 | -23/+36 |
| | |||||
* | 7086 | Kartik Agaram | 2020-10-20 | 2 | -22/+68 |
| | | | | | Expanding words now seems to be working. I was forgetting to update 'prev' pointers in a few places. | ||||
* | 7085 | Kartik Agaram | 2020-10-20 | 1 | -28/+28 |
| | |||||
* | 7084 | Kartik Agaram | 2020-10-20 | 1 | -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!) | ||||
* | 7083 | Kartik Agaram | 2020-10-20 | 2 | -2/+43 |
| | | | | | Defining functions mostly working. But we still need to fix the cursor afterwards. | ||||
* | 7082 | Kartik Agaram | 2020-10-20 | 1 | -8/+9 |
| | |||||
* | 7081 | Kartik Agaram | 2020-10-20 | 2 | -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`. | ||||
* | 7080 | Kartik Agaram | 2020-10-20 | 4 | -6/+79 |
| | | | | | Constructing new functions with ctrl-d is now working right. But the call seems exactly flipped. | ||||
* | 7079 | Kartik Agaram | 2020-10-19 | 4 | -1/+96 |
| | |||||
* | 7078 | Kartik Agaram | 2020-10-19 | 1 | -1/+39 |
| | |||||
* | 7077 - tile: render function list | Kartik Agaram | 2020-10-19 | 2 | -12/+53 |
| | |||||
* | 7066 - tile: some more primitives for testing | Kartik Agaram | 2020-10-19 | 3 | -0/+93 |
| | | | | | Lesson learned: functions store args in _reverse_ order. Since evaluation is very frequent, it's worth optimizing for it. | ||||
* | 7065 | Kartik Agaram | 2020-10-19 | 1 | -4/+5 |
| | |||||
* | 7064 | Kartik Agaram | 2020-10-19 | 1 | -16/+25 |
| | |||||
* | 7063 - tile: scaffolding for defining functions | Kartik Agaram | 2020-10-18 | 3 | -6/+121 |
| | |||||
* | 7062 | Kartik Agaram | 2020-10-18 | 1 | -1/+1 |
| | |||||
* | 7061 | Kartik Agaram | 2020-10-18 | 2 | -4/+4 |
| | |||||
* | 7060 - tile: renaming variables now works | Kartik Agaram | 2020-10-18 | 1 | -9/+10 |
| | |||||
* | 7059 | Kartik Agaram | 2020-10-18 | 3 | -21/+139 |
| | | | | | Cursor now in the right place after rename. But stack still doesn't show the value of a name. | ||||
* | 7058 | Kartik Agaram | 2020-10-18 | 3 | -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 names | Kartik Agaram | 2020-10-18 | 1 | -5/+44 |
| | | | | We can now create new bindings for names while evaluating lines. | ||||
* | 7056 - orange-pink | Kartik Agaram | 2020-10-18 | 1 | -3/+8 |
| | |||||
* | 7055 | Kartik Agaram | 2020-10-18 | 1 | -4/+8 |
| | |||||
* | 7054 | Kartik Agaram | 2020-10-18 | 1 | -0/+49 |
| | |||||
* | 7053 | Kartik Agaram | 2020-10-17 | 4 | -10/+100 |
| | | | | | Rename seems to now be working. State still isn't rendered right, so we can't be sure. | ||||
* | 7052 | Kartik Agaram | 2020-10-17 | 2 | -4/+4 |
| | |||||
* | 7051 | Kartik Agaram | 2020-10-17 | 1 | -1/+3 |
| | |||||
* | 7050 | Kartik Agaram | 2020-10-17 | 1 | -2/+13 |
| | |||||
* | 7049 | Kartik Agaram | 2020-10-17 | 1 | -3/+1 |
| | |||||
* | 7048 | Kartik Agaram | 2020-10-17 | 1 | -2/+2 |
| | |||||
* | 7047 | Kartik Agaram | 2020-10-17 | 1 | -0/+24 |
| | |||||
* | 7046 - start of flow for naming words | Kartik Agaram | 2020-10-17 | 2 | -2/+126 |
| | | | | | Names don't stick yet, but we have a scaffolding for printing a dialog and accepting input. | ||||
* | 7045 | Kartik Agaram | 2020-10-16 | 1 | -37/+42 |
| |