Commit Graph

5924 Commits

Author SHA1 Message Date
Kartik Agaram 01c811d9ae 5724 2019-10-29 23:04:12 -07:00
Kartik Agaram efae9496be 5723 2019-10-29 22:39:47 -07:00
Kartik Agaram 6c9450b5d1 5722
Already http://akkartik.name/post/mu-2019-2 is out of date.
2019-10-29 22:34:01 -07:00
Kartik Agaram 4e631258c8 5721 2019-10-29 18:01:01 -07:00
Kartik Agaram 076828b93b 5720 - start of Mu's eponymous level-2 language
http://akkartik.name/post/mu-2019-2
2019-10-29 17:51:54 -07:00
Kartik Agaram a28956d220 5719 2019-10-29 17:51:47 -07:00
Kartik Agaram 481bae6edb 5718 2019-10-29 15:36:03 -07:00
Kartik Agaram ffd4a419b4 5717 2019-10-27 00:52:44 -07:00
Kartik Agaram 999c529cb9 5716 2019-10-26 23:51:14 -07:00
Kartik Agaram 0fba3393a5 5715
Clean up pseudocode to match planned syntax for the type- and memory-safe
level-2 Mu language.

http://akkartik.name/post/mu-2019-2 is already out of date.
2019-10-26 23:42:27 -07:00
Kartik Agaram f0b7e327c5 5714
Replace calculations of constants with labels.
2019-10-25 06:10:36 -07:00
Kartik Agaram 76599bb813 5713 2019-10-23 00:47:02 -07:00
Kartik Agaram 4ef2d0fe42
Merge pull request #41 from tekknolagi/mb-rewrite-loop
Simplify loop
2019-10-22 19:48:25 -07:00
Kartik Agaram f372a4decc
Merge pull request #40 from tekknolagi/master
Raise an error if too few arguments are provided
2019-10-22 19:47:42 -07:00
Max Bernstein 9d622b12ce Simplify loop 2019-10-22 19:36:57 -07:00
Max Bernstein 0a6e6c28c9 Raise an error if too few arguments are provided
This is a notably better user experience than an assert failing.
2019-10-22 19:28:12 -07:00
Kartik Agaram 0a2247726a 5708 2019-10-19 18:53:05 -07:00
Kartik Agaram c8998b51e1 5707 2019-10-19 18:49:40 -07:00
Kartik Agaram c83dca9cb4 5706 - example at different levels of syntax sugar
Thanks Mateusz Czapliński for the feedback:
  https://lobste.rs/s/xtxlec/mu_minimal_hobbyist_computing_stack#c_1mzq94
2019-10-19 18:43:16 -07:00
Kartik Agaram b7b6ee5024 5705 2019-10-19 15:05:06 -07:00
Kartik Agaram bb1a1ac2b6 5704
Minor tweaks based on feedback from Max Bernstein.
2019-10-19 14:44:54 -07:00
Kartik Agaram 3a2d36a936 5703
Fix https://github.com/akkartik/mu/issues/38: gen_soso_iso on Arch Linux.

Also deemphasize bootable disk images in the Readme since that side's less
mature.
2019-10-18 23:11:55 -07:00
Kartik Agaram 469a1a9ace 5702 - fix a typo in online help
This commit fixes #37. Thanks Thomas Munoz!
2019-10-18 08:50:55 -07:00
Kartik Agaram b1635a5c8e 5701 2019-10-17 22:03:48 -07:00
Kartik Agaram 5409743432 5700 2019-10-17 21:59:51 -07:00
Kartik Agaram 5a7f919dfa 5699 2019-10-17 10:57:28 -07:00
Kartik Agaram 7a5832204a 5698
Thanks Andrew Owen for reporting this typo.
2019-10-15 19:35:19 -07:00
Kartik Agaram 6a51218e12 5697
Feedback at https://news.ycombinator.com/item?id=21242190#21242784
2019-10-13 14:40:02 -07:00
Kartik Agaram 3c1bc4fcb4 5696 2019-10-03 00:15:08 -07:00
Kartik Agaram 60a02b9e85 5695 2019-10-03 00:14:20 -07:00
Kartik Agaram 35a5eeaec2 5694 2019-09-28 00:34:38 -07:00
Kartik Agaram f470eca4ee 5693
Undo previous commit.
2019-09-27 15:46:41 -07:00
Kartik Agaram 8ccd1cfbcf 5692 - attempt at never leaving kernel mode
Doesn't work. Kernel gets kicked back to the Grub prompt(!)
2019-09-27 15:45:23 -07:00
Kartik Agaram 6d367fd764 5691 2019-09-27 15:31:20 -07:00
Kartik Agaram 33f7226aed 5690 2019-09-27 11:20:00 -07:00
Kartik Agaram 514e7a1fd0 5689 2019-09-27 11:07:55 -07:00
Kartik Agaram 2483baaccd 5688 2019-09-23 10:00:08 -07:00
Kartik Agaram 5ef9597631 5687
Move stack operations to a layer of their own.

It was some short-term pain to take out the syntax sugar from it, but we
need access to this layer from braces, which can't depend on sugar since
it's part of sugar. Just simpler to keep one clear line and not have to
build sometimes with some sugar but not others.
2019-09-23 09:21:40 -07:00
Kartik Agaram 31bbb6ac95 5686
Get mulisp reflecting whatever's typed in again.
2019-09-22 12:45:51 -07:00
Kartik Agaram 2c3dda21de 5685 - back tinkering with mulisp 2019-09-22 09:58:47 -07:00
Kartik Agaram a844bd058a 5684
Support function-call syntax when linkifying functions in html files.
2019-09-21 00:22:10 -07:00
Kartik Agaram 4a4a392dc7 5683 2019-09-20 11:25:59 -07:00
Kartik Agaram 0ca3aa4acc 5682 2019-09-20 11:09:07 -07:00
Kartik Agaram 9272b6cec9 5681 2019-09-20 11:08:18 -07:00
Kartik Agaram d9d9ab813c 5680
Include braces.subx in translation by default.
2019-09-20 10:08:42 -07:00
Kartik Agaram 866bc06660 5679 - braces seem done 2019-09-20 10:04:51 -07:00
Kartik Agaram 4ac2020fe8 5678 2019-09-19 23:40:53 -07:00
Kartik Agaram 915aaa21a1 5677 2019-09-19 23:34:21 -07:00
Kartik Agaram a19dddcabe 5676 2019-09-19 23:29:28 -07:00
Kartik Agaram fd91f7f61b 5675 - move helpers from subx-common into layers
This undoes 5672 in favor of a new plan:

Layers 000 - 099 are for running without syntax sugar. We use them for
building syntax-sugar passes.

Layers 100 and up are for running with all syntax sugar.

The layers are arranged in approximate order so more phases rely on earlier
layers than later ones.

I plan to not use intermediate syntax sugar (just sigils without calls,
or sigils and calls without braces) anywhere except in the specific passes
implementing them.
2019-09-19 23:25:49 -07:00