Some inital thoughts how the database should work Some commands to implement: sdb insert auto,tiny,bla,bla sdb insert in TABEL=BOOKS id=auto,title=test,author=bla sdb get all from books sort asc by author sdb get all from books where author=bla sort asc by id sdb get first 10 sdb get last 10 #if a field contains linebreaks escape them #a file can contain different tables #relations are defined in the header of the table definition