The Tables package

[ Tags: bsd3, database, program ] [ Propose Tags ]

[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
Category Database
Uploaded Sat Apr 26 02:31:50 UTC 2014 by NatePisarski
Distributions NixOS:0.1.0.2
Executables Tables
Downloads 832 total (4 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-10-26 [all 10 reports]
Hackage Matrix CI

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for Tables-0.1.0.2

[back to package description]

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.