Kartik Agaram
8a6ad45d8d
7100 - tile: render string literals
2020-10-25 18:14:12 -07:00
Kartik Agaram
517ef9f64f
7099
2020-10-25 15:23:49 -07:00
Kartik Agaram
f37e7f33e8
7098 - tile: string values
...
Strings can contain spaces.
2020-10-25 14:34:40 -07:00
Kartik Agaram
4dad0efa8d
Merge pull request #44 from tekknolagi/main
...
Clean up environment variables in `build`.
2020-10-25 12:58:17 -07:00
Maxwell Bernstein
5a23167d84
Remove CC
2020-10-25 12:29:21 -07:00
Maxwell Bernstein
a3865d8662
Rename CFLAGS to CXXFLAGS
...
This is a little misleading otherwise since this is an entirely C++
project.
2020-10-25 11:31:58 -07:00
Kartik Agaram
e68dc9ccfb
7094
2020-10-24 23:15:39 -07:00
Kartik Agaram
62a3c1b48b
7093
2020-10-24 22:54:22 -07:00
Kartik Agaram
04064a05c9
7092
2020-10-24 21:18:35 -07:00
Kartik Agaram
3c81c7dbb3
7091
2020-10-24 21:04:58 -07:00
Kartik Agaram
7e2cf199fc
7090
...
A bugfix: the indirect call instruction treats its argument as an absolute
address, not a displacement.
2020-10-24 20:54:44 -07:00
Kartik Agaram
04bdbf3178
.
2020-10-24 20:28:06 -07:00
Kartik Agaram
a87bc353f5
.
2020-10-24 19:33:41 -07:00
Kartik Agaram
e648bc9c88
tile: process space in middle of word
2020-10-24 18:26:19 -07:00
Kartik Agaram
1137dd2a99
tile: process space at start of word
...
This was very difficult to debug.
We still need to process space in the middle of a word.
2020-10-24 16:52:33 -07:00
Kartik Agaram
07a1a29912
clarify that we don't use C++20 modules
2020-10-23 11:17:57 -07:00
Kartik Agaram
9a83eac410
new fork
2020-10-23 00:18:35 -07:00
Kartik Agaram
e54e381396
bootstrap: more tweaks to int constants
2020-10-23 00:10:11 -07:00
Kartik Agaram
03012c91c2
tile: adjust spacing between commandline and stack
2020-10-23 00:09:24 -07:00
Kartik Agaram
3bb27a628a
Merge pull request #43 from tekknolagi/main
...
Use size-specific MAX/MIN constants
2020-10-22 14:13:36 -07:00
Maxwell Bernstein
cff2cd82c2
Use size-specific MAX/MIN constants
...
Don't rely on platform sizes.
2020-10-22 13:21:07 -07:00
Kartik Agaram
c82d149b3f
7089
2020-10-22 00:59:46 -07:00
Kartik Agaram
d409be9b29
7088
2020-10-20 23:06:24 -07:00
Kartik Agaram
4568607634
7087 - defining functions now seems to be working
2020-10-20 22:15:32 -07:00
Kartik Agaram
6b973819d0
7086
...
Expanding words now seems to be working. I was forgetting to update 'prev'
pointers in a few places.
2020-10-20 21:48:53 -07:00
Kartik Agaram
9ac5159486
7085
2020-10-20 21:18:38 -07:00
Kartik Agaram
cbe90c6a2b
7084
...
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!)
2020-10-20 13:39:31 -07:00
Kartik Agaram
38ff550455
7083
...
Defining functions mostly working. But we still need to fix the cursor
afterwards.
2020-10-20 10:02:31 -07:00
Kartik Agaram
ce94374bd1
7082
2020-10-20 09:39:12 -07:00
Kartik Agaram
5bdcb85f67
7081
...
Defining new functions seems to be working. _However_, we aren't yet detecting
duplicates. `x x *` leads to a declaration of `x x f`.
2020-10-20 09:33:13 -07:00
Kartik Agaram
c2d537c46b
7080
...
Constructing new functions with ctrl-d is now working right. But the call
seems exactly flipped.
2020-10-20 01:07:21 -07:00
Kartik Agaram
0cdbfff256
7079
2020-10-19 23:53:45 -07:00
Kartik Agaram
e28b949f18
7078
2020-10-19 23:20:33 -07:00
Kartik Agaram
5e9a482193
7077 - tile: render function list
2020-10-19 23:13:28 -07:00
Kartik Agaram
5532ea013b
7066 - tile: some more primitives for testing
...
Lesson learned: functions store args in _reverse_ order. Since evaluation
is very frequent, it's worth optimizing for it.
2020-10-19 22:41:46 -07:00
Kartik Agaram
3ff287f410
7065
2020-10-19 22:29:08 -07:00
Kartik Agaram
7144ae7638
7064
2020-10-19 22:27:52 -07:00
Kartik Agaram
1158758f20
7063 - tile: scaffolding for defining functions
2020-10-18 23:41:57 -07:00
Kartik Agaram
f1a3f88e95
7062
2020-10-18 23:23:36 -07:00
Kartik Agaram
266ac87340
7061
2020-10-18 23:22:06 -07:00
Kartik Agaram
19fd3c9ca4
7060 - tile: renaming variables now works
2020-10-18 23:07:23 -07:00
Kartik Agaram
956394017e
7059
...
Cursor now in the right place after rename. But stack still doesn't show
the value of a name.
2020-10-18 22:48:11 -07:00
Kartik Agaram
a3ddc1bdb3
7058
...
Snapshot; things seem to be working besides ctrl-r, but we aren't yet rendering
only the final line.
2020-10-18 21:57:09 -07:00
Kartik Agaram
47497ea552
7057 - tile: back to names
...
We can now create new bindings for names while evaluating lines.
2020-10-18 20:51:47 -07:00
Kartik Agaram
82d1fe7c9c
7056 - orange-pink
2020-10-18 20:18:51 -07:00
Kartik Agaram
d7d384a72b
7055
2020-10-18 15:49:20 -07:00
Kartik Agaram
e170b35d8b
7054
2020-10-18 15:39:34 -07:00
Kartik Agaram
dc0e03e4a5
7053
...
Rename seems to now be working. State still isn't rendered right, so we
can't be sure.
2020-10-17 23:29:02 -07:00
Kartik Agaram
1fc218bf9d
7052
2020-10-17 23:10:00 -07:00
Kartik Agaram
26bfae3d5e
7051
2020-10-17 13:54:33 -07:00