Commit Graph

25 Commits

Author SHA1 Message Date
Kartik Agaram 426fcd3ec3 6723 2020-08-22 13:26:08 -07:00
Kartik Agaram de0e57d3ce 6674 2020-07-25 15:35:43 -07:00
Kartik Agaram 3b02c3dfa2 6572
Small change to mu.subx to keep the treeshaker working with it. That's
currently the only place where we prevent jumps across 'functions'.
2020-06-21 17:31:38 -07:00
Kartik Agaram 63a4fd039c 6552 2020-06-18 09:04:09 -07:00
Kartik Agaram b36f2793f7 6548 2020-06-16 00:15:05 -07:00
Kartik Agaram 166c61430b 6514 2020-06-12 09:28:25 -07:00
Kartik Agaram 3d0c48adf9 6383 2020-05-22 22:57:51 -07:00
Kartik Agaram ca358b17a3 table primitives working
$ ./translate_subx init.linux 0*.subx  &&  ./a.elf test
2020-05-18 00:44:46 -07:00
Kartik Agaram 93d8141e1e 6172
Typo in stats: use the same measures as in previous lines.
2020-03-26 00:34:09 -07:00
Kartik Agaram 34a37b475c 6136 - ok, we can now call records and arrays done
Maybe not quite. One final issue: length is denominated in bytes, which
is abstraction-busting and all, but dashed inconvenient.

Unfortunately x86 doesn't have a divide instruction that takes an immediate
:( So I'm not sure how to transparently perform the division without needing
some extra register.
2020-03-12 00:51:28 -07:00
Kartik Agaram 176417f8d1 6121 2020-03-10 17:16:24 -07:00
Kartik Agaram fca55d2a45 6098
It was premature to say user-defined record types and array types were
done.
2020-03-07 21:12:56 -08:00
Kartik Agaram a9151143f3 6058 2020-02-27 16:54:34 -08:00
Kartik Agaram be8799b795 6057 2020-02-27 16:53:32 -08:00
Kartik Agaram 1837f61176 6040 2020-02-21 00:25:55 -08:00
Kartik Agaram cb9a1f0331 6013 2020-02-16 20:16:37 -08:00
Kartik Agaram 6a28260f19 6003 2020-02-09 21:12:41 -08:00
Kartik Agaram b6a26f6ca5 5994 2020-02-08 16:33:43 -08:00
Kartik Agaram 14c4ab3828 5976 2020-02-02 00:28:44 -08:00
Kartik Agaram c2bec7a60f 5964 2020-01-30 01:26:13 -08:00
Kartik Agaram f3c5cc5320 5934 2020-01-27 09:03:41 -08:00
Kartik Agaram e2d73d037c 5915 2020-01-21 00:58:34 -08:00
Kartik Agaram e1dd3f9578 5811 2019-12-21 13:17:51 -08:00
Kartik Agaram 68719bebc0 5794
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.
2019-12-06 01:12:08 -08:00
Kartik Agaram 714d6e15ba 5789 2019-12-03 21:45:06 -08:00