Hacker News new | ask | show | jobs
by breck 1245 days ago
I'm going to plug our related project: TreeBase. It's the public domain software that powers PLDB.com (a Programming Language DataBase).

It's very simple. If your small database was about cars, your structure might look something like this:

    database/
     grammar/
      engine.grammar
      interior.grammar
     things/
      model3.car
      camry.car
The `grammar` files are written in a Tree Language called Grammar. Those are your schema files. You basically create a new syntax-free plain text "language" for storing your data, in this case 1 "car" file per model of car.

It was a pipedream of mine until the M1's came out. Those changed everything, because then it became fast enough to actually do it.

We have a new release coming out soon with a new query language that will change everything. Here is the source code: https://github.com/breck7/jtree/tree/main/treeBase