

| |||||||
|
You are here: Root > By Topic > Web Development
uri-template is a Common Lisp implementation of URI templates as a reader macro, used for both template interpolation and destructuring.
| vsedach@gmail.com | |
| Web site | http://common-lisp.net/project/uri-template/ |
| Mailing list | http://common-lisp.net/cgi-bin/mailman/listinfo/uri-template-devel |
| Version | 0.6 - |
| Maturity | Beta |
| OS compatibility | |
| ASDF installable | Yes |
| Official Download | http://common-lisp.net/project/uri-template/release/uri-template-latest.tgz |
| Mirrored Download | |
| Source code repository |
Example use explains the concept best:
(let ((foo 1))
#Uhttp://www.example.com/widget/{foo}/parts)
=> "http://www.example.com/widget/1/parts"
(uri-template-bind (#Uhttp://www.example.com/{part}/{(#'parse-integer number)})
"http://www.example.com/widget/1"
(list part number %uri-host))
=> ("widget" 1 "www.example.com")
You must be logged to add a note
You must be logged to add a comment