web.lsp 0.3

Started by Jeff, August 13, 2009, 09:54:54 AM

Previous topic - Next topic

Jeff

Fixed (hopefully) a query parsing bug, made the query parser more tolerant, and added a parameter to cookie to limit cookies to secure (https) sessions.



Download: http://static.artfulcode.net/newlisp/web.lsp">http://static.artfulcode.net/newlisp/web.lsp
Jeff

=====

Old programmers don\'t die. They just parse on...



http://artfulcode.net\">Artful code

newdep

#1
Tight coding jeff! nice work..
-- (define? (Cornflakes))

m35

#2
Hey Jeff, very nice, but should this be set?


 (dolist (idx '($0 $1 $2 $3 $4 $5 $6 $7 $8 $9))
    (setf idx nil))
    ;   ^ set?

Jeff

#3
Why? In that instance, they are identical.
Jeff

=====

Old programmers don\'t die. They just parse on...



http://artfulcode.net\">Artful code

Lutz

#4
m35 has a point ;-)



> (dolist (idx '($0 $1 $2 $3)) (setf idx 123))
123
> $0
nil
> $1
nil
> (dolist (idx '($0 $1 $2 $3)) (set idx 123))
123
> $0
123
> $1
123
>

Jeff

#5
I stand corrected. I'll upload a fixed version momentarily.
Jeff

=====

Old programmers don\'t die. They just parse on...



http://artfulcode.net\">Artful code

cormullion

#6
It's working fine, thanks Jeff. I'm testing it out at http://unbalanced-parentheses.nfshost.com/lambdalator/index">//http://unbalanced-parentheses.nfshost.com/lambdalator/index - so far no problems (from your code - plenty from mine... :)