Search found 3 matches
- Tue May 31, 2011 10:04 am
- Forum: Common Lisp
- Topic: ``unpacking''
- Replies: 4
- Views: 4128
Re: ``unpacking''
https://github.com/mtlupurass/cl-IB/ You can disregard all of the tag-eval code. It's getting completely changed(which is why I needed some help). As you can see, I was aiming for templates with Lisp syntax, as I find it superior to typical HTML. Anyway, I want "var" to be eval, with the ...
- Tue May 31, 2011 8:50 am
- Forum: Common Lisp
- Topic: ``unpacking''
- Replies: 4
- Views: 4128
Re: ``unpacking''
I'm open to different ways of implementing this other than the unpacking way. It's just the first I thought of. The reason I want it is because I'm screwing around with a template language, and I want to define some primitives to evaluate variables passed to the template compiler(it compiles into XH...
- Tue May 31, 2011 7:36 am
- Forum: Common Lisp
- Topic: ``unpacking''
- Replies: 4
- Views: 4128
``unpacking''
I'm trying to create a macro or something that will run a body with all the keys in a hashtable passed to it bound to their values in a local environment. I.e if I have a hashtable *foo* which has the key 'a bound to 1 and 'b bound to 2, I would want something like this: (let ((a 1) (b 1)) body) My ...