aboutsummaryrefslogtreecommitdiffstats
path: root/lib (unfollow)
Commit message (Collapse)AuthorFilesLines
2026-05-09TEMPORARILY create an implicit transaction for operations if neededphysical-layer-lmdbEstevan Castilho1-17/+35
2026-05-09We're not using multiple LMDB databases, so avoid passing a nameEstevan Castilho2-14/+11
2026-05-07TEMPORARILY make LMDB errors stringsEstevan Castilho1-29/+52
2026-05-07`MemoryBackend` is now somewhere elseEstevan Castilho1-87/+0
2026-05-07Drop `begin_transaction`, add `abort`Estevan Castilho1-3/+3
2026-05-07Forsake `module Memory` throughoutEstevan Castilho15-30/+0
2026-05-07A note on hashesEstevan Castilho1-0/+5
2026-05-07`put`, "bulk" operations on LMDBEstevan Castilho1-12/+16
2026-05-07Make `with_transaction` a primitiveEstevan Castilho1-18/+6
2026-05-02WIP LMDB backendEstevan Castilho2-16/+162
2026-05-02Split out the memory backendEstevan Castilho1-0/+83
2026-05-02Hashes are not strings, but we can pretend otherwise (for now)Estevan Castilho2-16/+18
2026-04-30Some configuration parsing utilitiesEstevan Castilho1-0/+20
2026-04-30More LMDB bindingsEstevan Castilho1-1/+20
2026-04-30Use `Result` rather than a custom typeEstevan Castilho1-5/+5
2026-04-30Add `fmap` to `Utilities.Result`Estevan Castilho1-0/+1
2026-04-30Some LMDB bindingsEstevan Castilho2-1/+28
2026-04-27FormatMarcos Magueta26-296/+309
2026-04-27Foreign call PRL (#67)Marcos Magueta22-104/+502
2026-04-27Introduce Multigroups (#65)Marcos Magueta16-236/+603
2026-04-23Add build deps and sublanguage directory struct for duneMarcos Magueta8-17/+18
2026-04-22Prototype for configurationMarcos Magueta13-21/+292
2026-04-20New Server & Manipulation refactorMarcos Magueta17-480/+565
Co-authored-by: Estevan Castilho <tevo@riajuu.net>
2026-04-04remove interop with cMarcos Magueta5-68/+5
2026-04-03formatMarcos Magueta47-1450/+1483
2026-04-03Polarity walker, constraint and manipulation refactor with batteriesMarcos Magueta8-1268/+1536
2026-03-24Session with stream control sublanguage (#55)Marcos Magueta6-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.
2026-03-23Constraint walker and polarity analysisMarcos Magueta3-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)
2026-03-22Sublanguages improvement & Coq experiment (#53)Marcos Magueta24-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
2026-03-14Branching and naïve merge strategiesMarcos Magueta11-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>
2026-03-11todosMarcos Magueta2-0/+12
2026-03-11lack of provenance on shadowing of tuple merge quantification fixMarcos Magueta1-2/+22
2026-03-09defenestrate jsonMarcos Magueta3-8/+34
2026-03-08format todos and comment improvementMarcos Magueta5-193/+64
2026-03-08serverMarcos Magueta3-18/+30
2026-03-08dml and dclMarcos Magueta8-6/+230
2026-03-08constraintsMarcos Magueta7-60/+979
2026-03-07wip: drl executorMarcos Magueta4-0/+333
2026-03-07catalogMarcos Magueta2-116/+460
2026-03-07domainsMarcos Magueta3-5/+153
2026-03-07erlang port commands and generated testsMarcos Magueta9-28/+1011
2026-03-06wip: docs updateMarcos Magueta1-0/+1
2026-03-06wip: physicalMarcos Magueta4-8/+36
2026-03-06use magic to cast types to opaque attributesMarcos Magueta4-35/+21
2026-03-06encode relations on module baseMarcos Magueta10-74/+160
2026-03-06relation typeMarcos Magueta2-1/+111
2026-03-05ocaml re-migrationMarcos Magueta4-0/+63
2025-11-11migrating to erlang to attach to mnesiaMarcos Magueta6-287/+0
2024-10-27State of the world with Merkle Tree composition of files (#2)Marcos Magueta4-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
2024-10-26Basic storage with C interop (#1)Marcos Magueta8-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>