275 Commits

Author SHA1 Message Date
6c2f7c34c7 An eval or load reply carries the compiler's warnings, which Emacs marks at their sites and counts in the echo line, and a load says each warning once. 2026-09-26 19:20:40 +07:00
ae41ec8454 An install reply's :fns and flan reload's summary name each fn once, as it is written. 2026-09-26 18:29:54 +07:00
1215db7d26 Merge master into the arity lane. 2026-09-26 18:29:54 +07:00
c4547adb25 Master merges into the as-chain lane. 2026-09-26 17:42:08 +07:00
dd719766ee A fn's arities are one form, fn f with a (params) -> R line per arity, and evaluating it replaces every arity at once. 2026-09-26 17:35:18 +07:00
3afb7e13af Master merges into the as-chain lane, and as names what a pipe answers. 2026-09-26 17:22:07 +07:00
2af5dee0d0 The prelude is written in .fln and read once per process. 2026-09-26 17:18:15 +07:00
c1916ed819 e as g is any test of a condition's and chain, binding g for the rest of the chain and the block. 2026-09-26 17:07:01 +07:00
5a3d480edf In .fln, x |> f(a) reads as f(x, a), below or, with the Emacs mode indenting and marking pipe lines. 2026-09-26 16:58:53 +07:00
66fce31dbd The prelude is lib/prelude.fln, embedded at build time and read by the indented reader. 2026-09-26 16:37:02 +07:00
8afa054349 Merge master into the .fln optionals lane. 2026-09-26 15:52:00 +07:00
d252eee2b2 In .fln x? tests that a value is present and narrows a local Option to its payload in the block it guards, and e? as g names what a test found. 2026-09-26 15:48:36 +07:00
33203bd3c5 Merge master into the typed char lane
# Conflicts:
#	TODO.org
#	lib/check.ml
2026-09-26 15:04:23 +07:00
178c129c97 A .fln name carries no ? or !, and .fln has T?, x ?? d, x!, if let over a plain name and a?.b chaining. 2026-09-26 14:54:58 +07:00
7db1a81d1f Builtins, prelude, vendor and raylib predicates are named with is- or has- and no name carries a ? or !. 2026-09-26 14:34:36 +07:00
3134246511 Merge branch 'master' into worktree-agent-a5e429a5bd331edd4 2026-09-26 14:00:12 +07:00
322a675f1b A kept when or else-less chain gives an Option, get is a checked lookup, and .fln has if let and elif let. 2026-09-26 13:52:44 +07:00
fd8620516c A char literal is a typed char unless typed code wants a number, and a char compares, hashes, converts with (i32 c) and a checked (char n), and crosses into dyn as a dyn char. 2026-09-26 13:49:02 +07:00
717f07f985 test-flan.el clears the arguments it reads, so a batch Emacs no longer stops to ask whether to visit the compiler binary once it passes 10 MB. 2026-09-26 13:45:17 +07:00
b545584de8 Master is merged into the when, get and if let lane, and dyn get over text counts characters through at's own body. 2026-09-26 13:17:57 +07:00
aa6a007c7e Merge branch 'master' into worktree-agent-a5e429a5bd331edd4 2026-09-26 13:16:24 +07:00
2752d57655 A dev daemon started by a test dies with it, a daemon whose socket is gone ends cleanly, the Emacs daemon buffer asks before it is killed and closes the session, and a program's agent socket lives under TMPDIR and goes on a trap or fatal signal. 2026-09-26 13:13:39 +07:00
c24b19e7b1 Merge master into the dyn char lane 2026-09-26 13:09:28 +07:00
1b588df6b5 Master is merged into the when, get and if let lane after the review fixes. 2026-09-26 13:09:24 +07:00
764c2d10af String is owned, growable, always-valid UTF-8 text, and the prelude's text builders return it. 2026-09-26 13:05:56 +07:00
f35a2b240a Merge master into the dyn char lane 2026-09-26 12:51:41 +07:00
f7781dbb78 Emacs offers no binding column after a binding's else block, and offers one after a first binding whose bracketed lambda has closed 2026-09-26 12:15:04 +07:00
62fd7b19bc Master is merged into the when, get and if let lane. 2026-09-26 12:13:55 +07:00
5ee433a38f A kept when answers an Option, get is a checked lookup over arrays, slices, Vecs and dyn, and if let reads as a two-arm match in both syntaxes. 2026-09-26 12:12:48 +07:00
349e2d7e72 Merge master 2026-09-26 12:09:56 +07:00
5cc661d6ab Merge branch 'master' into worktree-agent-a26dff0627201f77b 2026-09-26 12:07:11 +07:00
db67ab19b4 String is owned, growable, always-valid UTF-8 text over a (Vec u8), and the prelude's text builders return it. 2026-09-26 12:07:11 +07:00
1d09f2fd3d Merge master into the dyn char lane 2026-09-26 11:11:42 +07:00
71f2b0b9b6 Dyn has a char that prints as its literal, dyn text counts characters, and chars and text convert between a text and a vec of chars. 2026-09-26 11:11:42 +07:00
17ff7cb348 A binding ends its let's bindings only when its value ends in an open block, the message names the let's own line, and Emacs offers no binding column after such a value 2026-09-26 11:11:32 +07:00
3d5caf25ae Merge master 2026-09-26 11:06:05 +07:00
c4452fc500 Merge master into the bit operators lane 2026-09-26 11:04:32 +07:00
473bf0a2b7 The bit operators are && || ^^ ~~ in .fln at Python's precedence, take integers only on typed and dyn values, and popcount, leading-zeros, trailing-zeros and the rotations exist on both backends. 2026-09-26 10:49:54 +07:00
63dc853121 A binding whose value is a block ends its let's bindings, a tab between let and its name is refused, and only a binding-shaped line under a let gets the alignment advice 2026-09-26 10:39:05 +07:00
fc463cf320 The .fln reader refuses loop and recur, flan convert refuses a .flan file that uses them, and every loop outside recur.flan is a while or until. 2026-09-26 10:31:53 +07:00
0e9d647aca A let's binding lines must line up with its first name, may name an operator word in parentheses, are refused clearly after a block value, and at the top level may be a typed name alone 2026-09-26 09:56:54 +07:00
25e7db944f In a .fln buffer a let's binding lines belong to its statement, TAB offers the column under its first name, and C-c C-e sends the group 2026-09-26 06:32:09 +07:00
04b29f283d In a .fln buffer a closer-led line inside open brackets goes to the bracket's continuation column, save the closer of a lambda's block 2026-09-26 06:20:55 +07:00
b1404727b6 A lambda with a block prints wherever it is last in its brackets, an element after a block lambda is refused as not last, and TAB offers no column of a block whose brackets have closed 2026-09-26 06:09:47 +07:00
895828992e Merge branch 'master' into worktree-agent-ae8e466a60e7cf35a 2026-09-26 05:44:39 +07:00
702ebdc9c5 In a .fln file a top-level let is a global and def is refused, while a let in a block or an evaluated expression stays local. 2026-09-26 05:39:59 +07:00
cde4f2ab1b A .fln file writes classes and methods as class, generic, multi and method headers, and flan convert prints them so. 2026-09-26 05:39:59 +07:00
905a4c53be A struct or union fits on one line, struct Pt(x: i32, y: i32), and flan convert writes that form when it fits. 2026-09-26 05:39:59 +07:00
de0c8791f3 A variable named like a header or clause word, data = 3 or on += 1, is read and printed as an assignment. 2026-09-26 05:39:59 +07:00
3f4e5a930f A defining form written as the fallback call in a .fln buffer draws its head as a keyword and its name as a definition, and imenu lists it. 2026-09-26 05:39:59 +07:00