Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 7165 | Kartik Agaram | 2020-11-03 | 1 | -1/+1 |
| | | | | | All tasks of https://github.com/akkartik/mu/issues/45#issuecomment-719990879 should now be complete. | ||||
* | 7159 - explicitly use 'return' everywhere | Kartik Agaram | 2020-11-02 | 11 | -399/+360 |
| | | | | https://github.com/akkartik/mu/issues/45#issuecomment-719990879, task 2. | ||||
* | 7156 | Kartik Agaram | 2020-11-01 | 1 | -2/+2 |
| | |||||
* | 7140 | Kartik Agaram | 2020-10-29 | 1 | -0/+11 |
| | |||||
* | 7129 - tile: allow bindings anywhere | Kartik Agaram | 2020-10-27 | 1 | -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. | ||||
* | 7128 | Kartik Agaram | 2020-10-27 | 1 | -5/+11 |
| | | | | More consistent spacing in sandbox render. | ||||
* | 7127 | Kartik Agaram | 2020-10-27 | 1 | -1/+1 |
| | |||||
* | 7126 | Kartik Agaram | 2020-10-27 | 1 | -5/+5 |
| | |||||
* | 7125 - tile: fade out values on the stack | Kartik Agaram | 2020-10-27 | 1 | -4/+1 |
| | |||||
* | 7124 - tiles: better 'lines' primitive | Kartik Agaram | 2020-10-27 | 2 | -14/+19 |
| | |||||
* | 7123 - tile: truncate string if necessary | Kartik Agaram | 2020-10-26 | 3 | -3/+30 |
| | |||||
* | 7122 - tile: styling for strings | Kartik Agaram | 2020-10-26 | 1 | -1/+6 |
| | |||||
* | 7121 | Kartik Agaram | 2020-10-26 | 1 | -5/+11 |
| | | | | | | | Starting to polish 'line-count' demo: filename line-count = filename open lines len | ||||
* | 7120 - tile: array of lines from file | Kartik Agaram | 2020-10-26 | 3 | -1/+77 |
| | | | | Requires a quick hacky change to Mu compiler. | ||||
* | 7119 - tile: new primitive to slurp file contents | Kartik Agaram | 2020-10-26 | 2 | -1/+41 |
| | | | | | Stack display is messed up when file contents contain newlines. Ignoring that for now. | ||||
* | 7118 | Kartik Agaram | 2020-10-26 | 1 | -3/+5 |
| | |||||
* | 7117 | Kartik Agaram | 2020-10-26 | 1 | -2/+4 |
| | |||||
* | 7116 - tile: regression in typing in strings | Kartik Agaram | 2020-10-26 | 2 | -55/+46 |
| | | | | We really need to clean up the Mu compiler's logic around function outputs. | ||||
* | 7115 | Kartik Agaram | 2020-10-26 | 2 | -6/+6 |
| | |||||
* | 7113 | Kartik Agaram | 2020-10-26 | 1 | -2/+12 |
| | |||||
* | 7112 - tile: arrays of non-integers | Kartik Agaram | 2020-10-26 | 4 | -73/+125 |
| | |||||
* | 7111 | Kartik Agaram | 2020-10-26 | 1 | -36/+41 |
| | |||||
* | 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. | ||||
* | 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 | 4 | -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 | 3 | -7/+4 |
| | | | | This found several bugs due to me not checking for null strings. | ||||
* | 7100 - tile: render string literals | Kartik Agaram | 2020-10-25 | 4 | -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. |