#Tag
if you're getting an aneurysm trying to understand how those mtof cases work, that's because you're trying to read it as a function, but the "function head" is the `then` section, at the end of the block rather than the beginning.
in datalog/prolog, order would be correct:
mtof(m, ...) :- ge(m, 0), ...
but then regular rules are not in execution order.
i'm going to explain the relational model with diagrams in an extra post.
so i'm thinking, step 1 is adding "inline" buffers (a solution from soufflé), for which cases don't generate code, and which in usage get inlined directly into other cases.
this already covers the need i have for functional macros and i can put off supporting C exports to a later point.
alright. today's job: support for defining C functions in LRDL.
this should generalize far enough that we can implement `main` this way, and also write shared libraries with it.
but it requires opening the reactor pattern to external users. it significantly complicates interactions and update flow.
hmhmhm. difficult to extract the smallest most elegant idea that works.
A space for Bonfire maintainers and contributors to communicate