Commit Graph

5800 Commits

Author SHA1 Message Date
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
Kartik Agaram 881c7f0270 5674 2019-09-19 16:35:10 -07:00
Kartik Agaram 8a73e0d19a 5673 - standardize a few knobs 2019-09-19 16:32:10 -07:00
Kartik Agaram dfbe155087 5672 - move hex out of apps 2019-09-19 15:59:22 -07:00
Kartik Agaram 825d9ebbe4 5671 2019-09-19 15:30:35 -07:00
Kartik Agaram dc8790941e 5670 2019-09-19 15:26:24 -07:00
Kartik Agaram 68666b07b8 5669 2019-09-19 15:19:07 -07:00
Kartik Agaram a9d473e224 5668 - start reorg to permit syntax sugar in layers
Right now we always build the library before any apps.
Apps are where our syntax sugar translators (sigils, calls, braces) live.
So we can't use sugar in the standard library.

New idea: move all code for SubX phases into the top-level.
Perhaps we should also just build a single file rather than pipeline stages.
But for now we'll build each phase by building up to some specific layer.

This will simplify test_apps and move lots of one-off logic to a more standard
form in test_layers.

I'm also going to reorg existing layers so that we introduce each phase
at a point where it mostly only gets the helpers it needs.

This commit itself is just cleaning up some common strings. Using explicit
names for them streamlines binaries a bit.
2019-09-19 15:12:50 -07:00
Kartik Agaram 37d40d4096 5667 2019-09-19 08:39:57 -07:00
Kartik Agaram 6ecddbaa92 5666 - start of sugar for structured control flow 2019-09-19 00:33:21 -07:00
Kartik Agaram 368212b1c3 5665
The core library is a mess right now, because it can't use syntax sugar.
I need some way to tier the library so that later layers can use syntax
sugar, but without adding cognitive load.

A shell pipeline is pretty, but maybe I need to drop it. Just add functions
to layers. Get all of the translator out of the apps/ sub-directory.
2019-09-19 00:13:02 -07:00
Kartik Agaram 20b71ee7f4 5664 2019-09-18 11:51:05 -07:00
Kartik Agaram fd2b373ad0 5663
Snapshot of mulisp before we put it on the back-burner. It's going to take
too long, and we're better off building out the lower layers that make
it more convenient to create.
2019-09-18 11:42:08 -07:00
Kartik Agaram a5fa978579 5662
Fix several breakages.
2019-09-15 16:31:31 -07:00
Kartik Agaram f39eaf81fa 5661 2019-09-15 00:29:52 -07:00
Kartik Agaram 5e4c6714b8 5660
Fix CI.
2019-09-15 00:23:17 -07:00
Kartik Agaram a0d3cac4e6 5659 2019-09-15 00:01:26 -07:00
Kartik Agaram 34fda13bfd 5658 2019-09-15 00:01:12 -07:00
Kartik Agaram 594b11c37c 5657 2019-09-14 23:47:59 -07:00
Kartik Agaram 67de9b0295 5656
Consistent style for curlies.
2019-09-14 16:40:51 -07:00
Kartik Agaram 5183a8425f 5655 2019-09-14 16:25:46 -07:00
Kartik Agaram 852d31cf05 5654
86e5ff5872
2019-09-14 09:10:02 -07:00
Kartik Agaram 6614f9a2d8 5653
Correct git hash for Soso.
2019-09-14 08:52:38 -07:00
Kartik Agaram 3b42da24c2 5652
Fix CI.
2019-09-14 01:56:39 -07:00
Kartik Agaram 8cfa635401 5651 2019-09-14 01:55:14 -07:00