mu/apps/README.md

29 lines
1.3 KiB
Markdown
Raw Normal View History

2020-09-27 03:05:12 +00:00
Some apps written in SubX and Mu. Check out:
2020-09-27 03:07:58 +00:00
* `tile`: [A text-mode postfix calculator](https://mastodon.social/@akkartik/104896128141863951)
that updates as you type. Prototype. Look at this to see what is currently
possible, not how I recommend building software.
2020-09-27 03:05:12 +00:00
2020-09-27 03:14:06 +00:00
<img alt='tile app' src='../html/rpn5.png' width='500px'>
2020-01-02 01:23:29 +00:00
2020-09-27 03:07:58 +00:00
* `browse`: [A text-mode browser for a tiny subset of Markdown](https://mastodon.social/@akkartik/104845344081779025).
2020-01-02 01:23:29 +00:00
* `ex*`: small stand-alone examples that don't need any of the shared code at
the top-level. They each have a simple pedagogical goal. Try these first.
2020-09-27 03:15:45 +00:00
* `factorial*`: A simple program to compute factorials in 5 versions, showing
all the different syntax sugars and what they expand to.
2020-01-02 01:23:29 +00:00
* Code unique to phases of our build toolchain:
* Core SubX: `hex`, `survey`, `pack`, `dquotes`, `assort`, `tests`
* Syntax sugar for SubX: `sigils`, `calls`, `braces`
* More ambitious translator for a memory-safe language (in progress): `mu`
* Miscellaneous test programs.
2020-07-05 22:28:37 +00:00
All SubX apps include binaries. At any commit, an example's binary should be
identical bit for bit with the result of translating the corresponding `.subx`
file. The binary should also be natively runnable on a Linux system running on
Intel x86 processors, either 32- or 64-bit. If either of these invariants is
broken, it's a bug.