collect.lisp 539 B

1234567891011121314151617181920212223242526272829
  1. ;;;; collect.lisp
  2. ;;;;
  3. ;;;; Copyright (c) 2015 Samuel W. Flint <swflint@flintfam.org>
  4. (in-package #:collect)
  5. ;;; "collect" goes here. Hacks and glory await!
  6. (defvar *configuration* nil)
  7. (defvar *forms* nil)
  8. (defvar *queries* nil)
  9. (defvar *tables* nil)
  10. (defvar *forms* nil)
  11. (defun get-config (section key)
  12. (get-config-drive ))
  13. (defun main ()
  14. (setq *configuration* (open-configuration-file (second *posix-argv*)))
  15. (open-database)
  16. (get-all-forms)
  17. (get-all-queries))
  18. (define-route main ("")
  19. (main-page :title "Collect"))