~fkinos/seisei

Small tabular data formatting Common Lisp library.
Parametrize table separator

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~fkinos/seisei
read/write
git@git.sr.ht:~fkinos/seisei

You can also use your local clone with git send-email.

#Seisei: simple tabular data formatting

Seisei exports a single function, format-table, it receives a stream, the data itself, as well as column headers and alignments.

#Example

(defparameter *data* '((x 10 5)
                       (y 5 3)))

(format-table t *data*
              :column-label '("VECTOR" "X" "Y")
              :column-align '(:left :right :right))
;; VECTOR |  X | Y
;; X      | 10 | 5
;; Y      |  5 | 3