BQL is Braindump Query Language
I just implemented it last night. The idea is to create an english-like language รก la SQL to simplify reading and writing information about entities in braindump. Right now there are four commands:
- set —
'set color of apple to red' => true - get —
'get color of apple' => 'red' - list —
'list where color is red' => ['apple'] - unset —
'unset apple' => true
It still needs some work, but that’s the gist of it. It’s mostly used internally now, but I also wrote a simple console program in python which lets you run BQL queries on a braindump server over XML-RPC. More about this later.
May 10th @ 9:16 PM | 0 Comments | Trackback