The Tables package

[Tags:bsd3, program]

[Skip to Readme]

Properties

Versions 0.1.0.0, 0.1.0.1, 0.1.0.2
Dependencies base (==4.6.*), cookbook (==2.3.*) [details]
License BSD3
Author Nate Pisarski
Maintainer nathanpisarski@gmail.com
Stability Unknown
Category Database
Uploaded Sat Apr 26 02:31:50 UTC 2014 by NatePisarski
Distributions
Downloads 682 total (11 in the last 30 days)
Votes
0 []
Status Docs not available [build log]
All reported builds failed as of 2015-12-08 [all 7 reports]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for Tables

Readme for Tables-0.1.0.2

Tables

Tables is a command-line program for accessing Quill databases. It supports an English-like argument structure, typed Elements, truly whitespace independant parsing, and some advanced composite functions.

Argument rundown

Tables [filename] get x from y

Tables [filename] get x

Tables [filename] add x as y

Tables [filename] add x to y as z

Tables [filename] remove x from y

Tables [filename] remove x

Tables [filename] change x in y to z

Tables [filename] map x to y as z

Tables [filename] combine x with y as z

Tables [filename] file x

Tables [filename] list

Tables [filename] x and y and...

Tables [filename] repl

Table syntax

The actual flat file has a somewhat human readable syntax. Here is a file showing all possible use cases:

table(tableName){`preserve whitespace`:val;key1:val1;}
list(listName){a;b;c} /* I'm a comment! */

Sales pitch

Tables is relatively safe (it won't delete its own file anymore, and probably won't burn your house down). It is built upon a rock-solid library (Cookbook) and a slightly-less rock-solid concept. The Haskell type system makes the base Quill library safe in regards to unexpected behavior, although there are some errors that Tables cannot recover from.