Since 5/5/2012 9:32:29 PM, vnikolov1 has written 4 articles and participated in 272 conversations. vnikolov1 signature: vnikolov1
vnikolov1's articles:
Items(4) /1
simulating local lexical variables with symbol macros15626 (11/5/2009 4:25:19 AM) comp.lang.lisp ;; LLET is a substitute for LET (for lexical variables) and LFUNCTION ;; is a substitute for FUNCTION for closing over LLET's bindings (as ;; well as LET's). The macroexpansions do not contain LET forms for ;... Vassil
OT: a beware-of-the-trolls "street sign"864 (10/22/2009 4:29:50 AM) comp.lang.lisp This picture of a beware-of-the-trolls mock street sign is technically off-topic, but might come handy occasionally: (via ). (require 'disclaimer) ;all resemblances... ---Vassil. -- "Even when the m... Vassil
Lisp is like Banquo...030 (8/18/2009 4:06:54 AM) comp.lang.lisp Admitting that the analogy is somewhat weak, it occurred to me once that, given how many ideas originating from Lisp have been incorporated into other languages, including frequently used ones, this can be com... Vassil
skip two expressions in a row when reading932 (7/31/2009 4:25:27 AM) comp.lang.lisp Let's say we have foo bar baz in a file to be consumed by READ and we want to change it to have FOO and BAR skipped without disturbing that line itself, i.e. by putting something on the previous line (we d... Vassil
help give a macro a good name1921 (11/3/2009 10:26:38 AM) comp.lang.lisp Hi list! I saw things like appendf in alexandria. (appendf a b) can be replaced with (a sligtly more verbose, but more general) (arg1f append a b), where (defmacro arg1f (function place &rest args) ... budden-lisp(279)
UPDATE, UPDATE*2340 (11/4/2009 5:42:24 AM) comp.lang.lisp Macro UPDATE, UPDATE*: Syntax: update ( {(var place)}* ) declaration* form* => result* update* ( {(var place)}* ) declaration* form* => result* Arguments and Values: var -- a symbol place -- a p... kkylheku(2499)
Mistake in the specification of rotatef ?627 (11/5/2009 2:17:12 AM) comp.lang.lisp In http://www.lispworks.com/documentation/HyperSpec/Body/m_rotate.htm we read: "In the form (rotatef place1 place2 ... placen), the values in place1 through placen are read and written". Does it mean "saved" in... spibou(1037)
Is there a better way to store this?1332 (11/6/2009 4:08:46 PM) comp.lang.lisp I am writing a 'guess the animal' game for my Lisp book of games. This game uses a binary deduction tree. The thing is this tree needs to be stored to and loaded from disk. This is a simple game and I don't w... jpthing(785)
How to set the value?1533 (11/7/2009 3:26:19 AM) comp.lang.lisp Hi All, I have been programming in LISP for couple of months now. Today, came across a new notation and had a question on that. Let me give an example: I have an access to an "object" [i don't know what the t... harikris(13)
Remembering information during compilation4626 (11/7/2009 6:18:19 PM) comp.lang.lisp I'm trying to construct a macro called memory. The syntax is memory (&rest body) and doing (memory form) should expand to (SYMBOL-MACROLET ((CELL XXX)) form) where XXX should be replaced by the number of ... spibou(1037)
porting a Forth program225290 (3/8/2010 10:44:53 PM) comp.lang.lisp I have been vaguely intending to learn Lisp for a long time (several
decades now). I recently wrote a Forth program to generate gcode for a
CNC milling machine to etch the faces of a slide-rule:
http://www.f... hughaguilar96(1076)
(compile 'foo) when foo is a macro?1591 (3/12/2010 7:27:06 PM) comp.lang.lisp If FOO is already a macro, what should (compile 'foo ...) do? The CLHS
says the macro function should be updated, but it's not clear to me what
it should be updated to. Apparently Lispworks and SBCL update ... toy.raymond(41)