eudoxia0 / lucerne

A web framework for Common Lisp, built on Clack
http://borretti.me/lucerne/
142 stars 19 forks source link

creating a new defview #16

Open mfiano opened 8 years ago

mfiano commented 8 years ago

If I write a new defview with the @route reader macro, it is not added to the routing table upon C-c C-c. However, If I restart my Lisp image, it's displayed in my web browser. Is there something I must do to iteratively define pages?

coseltech commented 8 years ago

Slime didn't include the @route part until I installed "slime-annot" in Emacs. Then I started getting The variable @ROUTE is unbound. [Condition of type UNBOUND-VARIABLE]

vindarel commented 7 years ago

+1. How to do that ? Is there an alternative syntax ? It's a blocking point :/

vindarel commented 7 years ago

guys, I picked this on caveman:

(syntax:use-syntax :annot) 
;; instead of (annot:enable-annot-syntax)

it doesn't appear on cl-annot doc, but it works. I can C-c C-c new routes.