about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* 5803Kartik Agaram2019-12-0715-27/+7
|
* 5802Kartik Agaram2019-12-071-1/+1
| | | | Fix CI.
* 5801 - move `tangle` to `tools/` dirKartik Agaram2019-12-0711-1096/+1087
|
* 5800 - move `browse_trace` to `tools/` dirKartik Agaram2019-12-0715-294/+1575
|
* 5799 - move html-generation to `tools/` directoryKartik Agaram2019-12-077-16/+7
|
* 5798Kartik Agaram2019-12-073-15/+15
| | | | | Fuck, 'tmp' is a generic name, and running `clean` deleted some files I'd stashed away.
* 5797 - move `enumerate/` to `tools/` directoryKartik Agaram2019-12-075-6/+13
|
* 5796 - move treeshake to a new tools/ directoryKartik Agaram2019-12-0710-132/+94
|
* 5795Kartik Agaram2019-12-071-1/+5
|
* 5794Kartik Agaram2019-12-066-103/+198
| | | | | | | | | Rather surprisingly, all the treeshake tooling is done in just about 2 hours of work. From now on it'll be easier to update stats.txt. Observations: a) Binaries are tiny compared to conventional stacks. Tens of KB. b) ~80% of binaries are tests and unused libraries in all my apps. c) ~75% of LoC in SubX sources are tests or comments.
* 5793Kartik Agaram2019-12-055-1/+198
| | | | | | | | | Start of a new script called treeshake to emit stats for minimal line counts and binary sizes for all apps. It doesn't actually do any dead-code deletion yet. But it does build and run all apps successfully. (Except apps/mu; we'll ignore that for now. It's probably not being disciplined about identifying internal labels.)
* 5792Kartik Agaram2019-12-0515-9/+0
| | | | | Fix a bug in one test: it checks eax when the component under test returns nothing. It's been just accidentally passing all these months.
* 5791Kartik Agaram2019-12-052-6/+6
|
* 5790Kartik Agaram2019-12-0525-386/+386
| | | | | | Standardize conventions for labels within objects in the data segment. We're going to use this in a new tool.
* 5789Kartik Agaram2019-12-031-0/+0
|
* 5788Kartik Agaram2019-12-029-1272/+1
|
* 5787Kartik Agaram2019-12-026-18/+18
|
* 5786Kartik Agaram2019-11-304-2553/+2586
|
* 5785 - initial skeleton for parsing fn bodiesKartik Agaram2019-11-302-5/+21
| | | | | All tests passing again. We have big gaping holes for type- and var-management. We're going to work on the latter first.
* 5784Kartik Agaram2019-11-303-9/+27
| | | | | Lots of debugging to add two curly braces. I need tests for populate-mu-function-body, or even parse-mu-block.
* 5783Kartik Agaram2019-11-3015-2564/+3602
|
* 5782 - fix a widespread bug with Heap-sizeKartik Agaram2019-11-3029-15/+15
|
* 5781Kartik Agaram2019-11-302-3/+194
| | | | | parse-mu-stmt now working, though we'll need to go back and stop creating a new var for every instance of a variable in a scope.
* 5780Kartik Agaram2019-11-291-43/+50
|
* 5779Kartik Agaram2019-11-291-100/+308
| | | | | Snapshot with new skeleton for parsing function body. New test still failing, but only in the one expected place.
* 5778Kartik Agaram2019-11-2917-43/+43
|
* 5777Kartik Agaram2019-11-292-3/+159
|
* 5776Kartik Agaram2019-11-292-34/+48
|
* 5775Kartik Agaram2019-11-292-9/+105
|
* 5774Kartik Agaram2019-11-291-26/+82
| | | | Function headers seem to be parsing right.
* 5773Kartik Agaram2019-11-283-0/+206
| | | | Rudimentary support for parsing variable declarations.
* 5772Kartik Agaram2019-11-282-0/+110
|
* 5771Kartik Agaram2019-11-282-2161/+2558
|
* 5770Kartik Agaram2019-11-283-1/+190
|
* 5769 - support uppercase hex in SubXKartik Agaram2019-11-2816-233/+241
|
* 5768 - start parsing fn headersKartik Agaram2019-11-272-14/+63
|
* 5767Kartik Agaram2019-11-272-16/+175
| | | | Some groundwork for parsing.
* 5766Kartik Agaram2019-11-261-197/+299
|
* 5765Kartik Agaram2019-11-2613-3/+119
| | | | | | | | | A couple more primitives now working. In the process I ran into an issue with some buffer filling up when running ntranslate. Isolating it to survey.subx was straightforward, but --trace ran out of RAM, and --trace --dump ran out of (7GB of) disk. In the end what helped was just repeatedly inserting exits at different points, and I realized there was a magic number that hadn't been turned into a named constant.
* 5764Kartik Agaram2019-11-262-1/+8
|
* 5763Kartik Agaram2019-11-263-856/+950
|
* 5762Kartik Agaram2019-11-261-5/+0
|
* 5761Kartik Agaram2019-11-264-2102/+2273
|
* 5760Kartik Agaram2019-11-252-8/+31
|
* 5759 - design statement data structureKartik Agaram2019-11-251-14/+80
|
* 5758Kartik Agaram2019-11-251-5/+2
|
* 5757Kartik Agaram2019-11-182-14/+0
|
* 5756Kartik Agaram2019-11-183-994/+1030
|
* 5755Kartik Agaram2019-11-183-897/+1024
| | | | Support function calls with literal arguments.
* 5754Kartik Agaram2019-11-183-1098/+1249
| | | | Support binary instructions with an immediate operand.