Commit Graph

57 Commits

Author SHA1 Message Date
Kartik K. Agaram d253a31828 rename grapheme to code-point-utf8
Longer name, but it doesn't lie. We have no data structure right now for
combining multiple code points. And it makes no sense for the notion of
a grapheme to conflate its Unicode encoding.
2021-11-09 08:12:11 -08:00
Kartik K. Agaram 51ed06b5ce . 2021-10-27 09:36:19 -07:00
Kartik K. Agaram c7dde8d8b4 task: primitive statements vs function calls 2021-10-26 23:14:36 -07:00
Kartik K. Agaram c3eab11fd1 . 2021-10-26 22:18:54 -07:00
Kartik K. Agaram 85fe614cd9 . 2021-10-26 22:10:04 -07:00
Kartik K. Agaram 9c952560da . 2021-10-26 22:04:26 -07:00
Kartik K. Agaram c055c4781f . 2021-10-26 22:02:23 -07:00
Kartik K. Agaram 189bd674a0 a few surprisingly nuanced tweaks to task 8
Thanks sejo for the feedback.
2021-10-26 21:57:08 -07:00
Kartik K. Agaram b16ece5ae8 . 2021-10-26 21:27:01 -07:00
Kartik K. Agaram 06a1928c8d typo in tutorial 2021-10-26 21:26:07 -07:00
Kartik K. Agaram 0b16b27f49 task: floating-point
I'm almost ready to throw in the towel. Writing out the rules makes it
obvious how hostile they are to most people.
2021-10-25 22:50:04 -07:00
Kartik K. Agaram 016e788f08 . 2021-10-24 00:20:02 -07:00
Kartik K. Agaram 7d28bbe2f2 . 2021-10-24 00:02:07 -07:00
Kartik K. Agaram 1cfaf7537c . 2021-10-24 00:00:23 -07:00
Kartik K. Agaram 00438cd8a0 . 2021-10-23 23:58:34 -07:00
Kartik K. Agaram 6a2ec6bfab . 2021-10-23 23:53:27 -07:00
Kartik K. Agaram c6f32bc2b4 finally I can address sejo's feedback on shadow/clobber 2021-10-23 23:50:14 -07:00
Kartik K. Agaram c9eeca659e . 2021-10-23 23:43:21 -07:00
Kartik K. Agaram b4a3e804af rewrite Mu reference 2021-10-23 23:38:14 -07:00
Kartik K. Agaram 145957b7ee . 2021-10-23 09:30:49 -07:00
Kartik K. Agaram b367e7f7f9 . 2021-10-20 14:42:57 -07:00
Kartik K. Agaram 6a47fad86f . 2021-05-16 21:48:24 -07:00
Kartik K. Agaram 0ab5f6fb3a mu.subx: support bitwise not 2021-05-16 21:47:47 -07:00
Kartik K. Agaram 7bf8adb893 explicitly pass data disk to main 2021-03-27 17:50:44 -07:00
Kartik K. Agaram 1a43d12b15 explicitly pass screen and keyboard to main 2021-03-26 23:07:35 -07:00
Kartik K. Agaram 9f71d7248c . 2021-03-26 22:32:22 -07:00
Kartik Agaram 5268b0e1df 7691 2021-02-07 09:53:14 -08:00
Kartik Agaram bbcf033aff 7292 - mu.subx: loosen copy-byte checks a bit
Without this there's no way to convert an int to a byte. And that feels
too restrictive, and gives up a lot of safe things one might want to do
with bytes. (Such as divide a number by 10 and emit the remainder as a
byte.)
2020-11-27 22:44:23 -08:00
Kartik Agaram 125bfde435 7286 - mu.subx: isolate bytes from previous values 2020-11-27 00:04:54 -08:00
Kartik Agaram dbb5df2790 7270 2020-11-21 22:04:15 -08:00
Kartik Agaram 1696ed831a 7261 - mu.subx: array bounds-checking done 2020-11-17 18:16:26 -08:00
Kartik Agaram 3d31467c0d 7251 2020-11-16 00:37:37 -08:00
Kartik Agaram 8d2dece291 7250 2020-11-16 00:00:32 -08:00
Kartik Agaram 2715d377b6 7247 2020-11-15 22:54:56 -08:00
Kartik Agaram ccadc6e604 7152 - 'return' instruction
https://github.com/akkartik/mu/issues/45#issuecomment-719990879, task 1.

We don't have checking for it yet. Soon.
2020-11-01 18:02:02 -08:00
Kartik Agaram 48a056b6da 7028 2020-10-14 11:06:25 -07:00
Kartik Agaram 9c810588a1 7027 2020-10-14 10:58:15 -07:00
Kartik Agaram 28274eebc3 7026 2020-10-14 10:52:03 -07:00
Kartik Agaram 0d9e8309da 7024 2020-10-14 10:45:25 -07:00
Kartik Agaram 8350faef52 7023 2020-10-14 09:48:24 -07:00
Kartik Agaram 4d60956b6f 7022 2020-10-14 09:47:05 -07:00
Kartik Agaram f13576b5d2 6957
The final fix to the raytracing program involves rounding modes. It turns
out x86 processors round floats by default, unlike C which has trained
me to expect truncation. Rather than mess with the MXCSR register, I added
another instruction for truncation. Now milestone 3 emits perfectly correct
results.
2020-10-05 10:25:25 -07:00
Kartik Agaram 21ff6d831a 6944 2020-10-04 01:25:02 -07:00
Kartik Agaram faeeef34f5 6941 - detective story for the day 2020-10-03 23:17:17 -07:00
Kartik Agaram b6cf4f1db3 6939 2020-10-03 22:53:05 -07:00
Kartik Agaram 8d32a9aab9 6915 - a new family of Mu branch instructions
The realization of commit 6916 means that we should be using jump-if-addr*
after comparing floats. Which is super ugly. Let's create aliases to them
called jump-if-float*.
2020-09-30 23:46:43 -07:00
Kartik Agaram f334aa73e9 6897 2020-09-29 03:41:05 -07:00
Kartik Agaram 9aea89ba73 6896
Readme-driven development for Mu's floating-point operations.
2020-09-28 22:19:43 -07:00
Kartik Agaram 28b25a4893 6657 2020-07-16 22:34:57 -07:00
Kartik Agaram ab26c894c8 6648 - bit-shift instructions in Mu
I'm not happy with the names.
2020-07-14 21:42:20 -07:00