diff options
| author | eunhhu <[email protected]> | 2026-09-25 13:01:12 +0100 |
|---|---|---|
| committer | eunhhu <[email protected]> | 2026-09-25 13:01:12 +0100 |
| commit | 030048d39c8ce353cca8842a9ad0ab2765290e59 (patch) | |
| tree | f6ca81ab670705b9e3d505e5410fcf2a9cd9735d /src/main.c | |
| parent | 3265bc65ef6d2e399be6141f678f4f299a2d7491 (diff) | |
| download | aup-030048d39c8ce353cca8842a9ad0ab2765290e59.tar.gz aup-030048d39c8ce353cca8842a9ad0ab2765290e59.zip | |
Compile text, cursors and strings to module v3
aup now emits Pure module v3 and adds text states with string initializers,
cursors bound to a text, text inputs, string literals with escapes and
{interpolation} of numbers and text, cursor distances in chars and lines,
.start/.end, insert/remove, name.line(cursor), .chars/.lines/.bytes on text,
.chars/.line on cursors, and text(bytes)/bytes(text). Replies and replace
accept text as its UTF-8 bytes. Views are numbers or text. Up to 32 inputs.
examples/notes.aup is a small editor. make check replays random typing
(ASCII, Korean, emoji, combining marks, NUL, newlines), moves and deletions
against a Python reference model: 4,800 snapshots of text, cursor, mark and
views match. It also checks escapes and number text, 16 new diagnostics, a
document loaded into text and saved back, and all earlier parity; the
compiler and the Pure executor each pass under ASan/UBSan.
Diffstat (limited to 'src/main.c')
0 files changed, 0 insertions, 0 deletions
