aboutsummaryrefslogtreecommitdiffstats
path: root/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Improve the error handling situation (#71)Estevan Castilho2026-05-2736-440/+452
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Sketches of a condition system * `Condition.condition` -> `Condition.t` * Migrate `NT` over * Migrate `Branch` over * Migrate `Sublanguage` et al. over * Migrate the PRL over * Migrate the DRL over * Migrate the DML over * Have `Qualified_name.try_parse` return a `Condition.t` * Migrate the DDL over * Migrate the VCL over * Migrate the SCL over * Migrate the ICL over * Migrate the parsers over * Just inherit the errors from NT and the sublanguages * Migrate `Management.Physical` over * Migrate `Configuration` over * Migrate `Management.Branch` over * Migrate `Transport` over * Migrate `System` over * Migrate `Server` over * Include messages on on all conditions * A prettier stringifier
* RNT interfaceMarcos Magueta2026-05-1837-1308/+1867
| | | Co-authored-by: Estevan Castilho <tevo@riajuu.net>
* Multigroup unified reference for hierarchical accessMarcos Magueta2026-05-1143-2779/+1240
|
* FormatMarcos Magueta2026-04-2726-296/+309
|
* Foreign call PRL (#67)Marcos Magueta2026-04-2722-104/+502
|
* Introduce Multigroups (#65)Marcos Magueta2026-04-2716-236/+603
|
* Add build deps and sublanguage directory struct for duneMarcos Magueta2026-04-238-17/+18
|
* Prototype for configurationMarcos Magueta2026-04-2213-21/+292
|
* New Server & Manipulation refactorMarcos Magueta2026-04-2017-480/+565
| | | Co-authored-by: Estevan Castilho <tevo@riajuu.net>
* remove interop with cMarcos Magueta2026-04-045-68/+5
|
* formatMarcos Magueta2026-04-0347-1450/+1483
|
* Polarity walker, constraint and manipulation refactor with batteriesMarcos Magueta2026-04-038-1268/+1536
|
* Session with stream control sublanguage (#55)Marcos Magueta2026-03-246-0/+218
| | | SCL adds cursor-based streaming to Sakura so clients can consume DRL query results incrementally in bounded batches rather than all at once. Three statements: Begin, Fetch, and Close. `open`, `advance`, and `release` cursors backed by a session registry that suspends the generator between calls. SCL is just an optional consumption layer above the existing algebra.
* Constraint walker and polarity analysisMarcos Magueta2026-03-233-71/+437
| | | | | | | | | | | | | - Polarity analysis walker on Constraint.t AST - Cascade constraint re-checking on DELETE and INSERT - Focused filtering to narrow re-checks to affected tuples only - Universal variable substitution for targeted constraint re-evaluation - Constant discovery for early bail-out (trigger_constants) - Deferred constraint timing with commit boundary - attach_constraint and commit API in Manipulation - extend_tuple namespacing fix (variable.attr convention) - History capping at 128 entries in Database.update_state - Benchmark binary (bin/bench.ml) - Design doc (docs/incremental_constraint_checking.org)
* Sublanguages improvement & Coq experiment (#53)Marcos Magueta2026-03-2224-95/+640
| | | | | | | | | | | | | | | | | | | | | | | | | | | * separation and functor for sublanguages * add coq experiment for termination * fix tests with envelopes * add timestamp and print responses to server on terminal * remove coq experiment for trivial cases and rework gate * refactor nesting with let* * remove non-envelope sublang support and tests on server * manip_err duplication purge and better format as s-expr * abstract storage with dispatch for sublanguages * dead code and minor refactor due to old non-envelope parsing on subl * refactor server to use proper dml alg error and wire ephem relations * remove (schema) * change .gitignore to blacklist folders
* Branching and naïve merge strategiesMarcos Magueta2026-03-1411-61/+617
| | | | | | | | | | | | | | | * AGPL license * branching and merging * Delete LICENSE in favor of separate PR Signed-off-by: Marcos Magueta <maguetamarcos@gmail.com> * add unmonitored tests and docs --------- Signed-off-by: Marcos Magueta <maguetamarcos@gmail.com>
* todosMarcos Magueta2026-03-112-0/+12
|
* lack of provenance on shadowing of tuple merge quantification fixMarcos Magueta2026-03-111-2/+22
|
* defenestrate jsonMarcos Magueta2026-03-093-8/+34
|
* format todos and comment improvementMarcos Magueta2026-03-085-193/+64
|
* serverMarcos Magueta2026-03-083-18/+30
|
* dml and dclMarcos Magueta2026-03-088-6/+230
|
* constraintsMarcos Magueta2026-03-087-60/+979
|
* wip: drl executorMarcos Magueta2026-03-074-0/+333
|
* catalogMarcos Magueta2026-03-072-116/+460
|
* domainsMarcos Magueta2026-03-073-5/+153
|
* erlang port commands and generated testsMarcos Magueta2026-03-079-28/+1011
|
* wip: docs updateMarcos Magueta2026-03-061-0/+1
|
* wip: physicalMarcos Magueta2026-03-064-8/+36
|
* use magic to cast types to opaque attributesMarcos Magueta2026-03-064-35/+21
|
* encode relations on module baseMarcos Magueta2026-03-0610-74/+160
|
* relation typeMarcos Magueta2026-03-062-1/+111
|
* ocaml re-migrationMarcos Magueta2026-03-054-0/+63
|
* migrating to erlang to attach to mnesiaMarcos Magueta2025-11-116-287/+0
|
* State of the world with Merkle Tree composition of files (#2)Marcos Magueta2024-10-274-24/+65
| | | | | | | | | | | | | | | | | * file state hash calculation with history on replace and insert * add state transitions with linear hashing * add test * format dune files * nix format * delete shared flake * disable fmt check on flake * add nix formatter to flake shell
* Basic storage with C interop (#1)Marcos Magueta2024-10-268-45/+244
| | | | | | | | | | | | | | | | | | | | | | | | | * writer command design * dune build with shared core lib * port c lib project inside ocaml * os specific dynamic link * fix project name on flake * fix: cmake cxx version breaking merklecpp * finish write to disk and update maps func * add non atomic commit to transaction graph * merkle tree binding for generating root hash * disk module refactor --------- Co-authored-by: Renan Lopes <renans.l@icloud.com>
* dune build with foreign stubsMarcos Magueta2024-10-161-8/+29
|
* dune environment vars with flake and C++ interop with stubsMarcos Magueta2024-10-163-1/+25
|
* bootstrap project with flake and duneMarcos Magueta2024-10-161-0/+2