Anonymous user
Simple database: Difference between revisions
m
Formatting
(Added PicoLisp) |
m (Formatting) |
||
Line 8:
You should track the following details:
* A description of the item. (
* A category or tag (genre, topic, relationship
* A date (either the date when the entry was made or some other date that is meaningful,
* Other optional fields
Line 19:
* Print all entries sorted by a date
The category may be realized as a tag or as structure (by making all entries in that category subitems)
The
See also [[Take notes on the command line]] for a related task.
=={{header|Common Lisp}}==
▲a tool to track the episodes you have watched in a series.
▲tested with [[SBCL]] but should work with other implementations.
▲run from the commandline as:
sbcl --script watch.lisp
this code is also available under the GNU GPLv3.▼
<lang lisp>(defvar db nil)
Line 231 ⟶ 230:
=={{header|Pike}}==
{{trans|Common Lisp}}
<lang Pike>mapping db = ([]);
Line 388 ⟶ 387:
=={{header|Ruby}}==
<lang ruby>require 'date'
require 'json'
|