CSV defun12 (5/7/2013 8:30:52 PM) comp.lang.lisp I need a CSV routine. I wrote this:
(defun csv (line)
(with-input-from-string (input-stream line)
(loop for char = (read-char input-stream nil nil nil)
with token-list = '()
with in-quo... Mike
Trying to write a macro235 (11/5/2012 3:21:05 AM) comp.lang.lisp I'm trying to learn about macros. I'm approaching this task by trying
to write my own, simple HTML generation routines. I'm using clisp.
I decided to try and generate a macro that creates the individual def... Mike
help please #2623 (10/31/2012 2:53:42 PM) comp.lang.lisp Again I'm return to learn LISP. My latest project is to write a simple
stock technical analysis program. One step of this program is to load
in a file of stock data. I'm using clisp 2.49. My code so far is:
... Mike
OT: How to calculate reputation scores?242 (5/22/2012 4:54:17 PM) comp.lang.perl.misc A general question, not PERL releated: Many web sites have an article/message/user reputation based on the up or down votes the article/message/user receives. How is a reputation score calculated given only up... Mike
OT: How to calculate reputation scores?1620 (5/22/2012 4:51:49 PM) comp.lang.lisp General question (not LISP related): Many web sites have an article/message/user reputation based on the up or down votes the article/message/user receives. How is a reputation score calculated given only up a... Mike
How to remove nil from a list?1027 (5/18/2012 5:43:21 PM) comp.lang.lisp Hi, I'm trying to remove a pair from a list. So far I have: (setq y1 '((#:X14 19) (TF TG) (A 5) (B 6) (C 7) (D 8))) => ((#:X14 19) (TF TG) (A 5) (B 6) (C 7) (D 8)) (map 'list #'(lambda (p) (if (not (eq (car p... Mike
speed of let vs. let*1326 (5/16/2012 6:27:00 PM) comp.lang.lisp I understand that the order of variables set in let is implementation dependent and the order of variables in let* proceeds from the first varable to the last. It seems that for my (simple) projects that I can ... Mike
assembling lists?527 (5/4/2012 5:49:55 PM) comp.lang.lisp Hi, I'm making progress on my program. I'm currently stuck trying to build a list to send to a different part of the program. What I did earlier in the program (which worked there) isn't working in a different... Mike
clisp, regexp:match, and subgroups?619 (5/2/2012 4:49:52 PM) comp.lang.lisp Thank you everyone on my previous (loop...) question. I understand now more than I did. My next stumbling stone is (regexp:match...). I have this function where it is matching a pattern. I'm trying to extra... Mike
creating new messages, not sending email?221 (6/21/2011 7:51:46 PM) comp.mail.imap Afternoon, I use mutt(1) connected to an IMAP message store. Mutt(1) gives me the ability to edit raw messages. I would like to create a 'journal folder in the IMAP store for recording events of each day. Curr... mikee2856(42)
equivalent PERL construct in LISP?1228 (5/1/2012 7:18:32 PM) comp.lang.lisp I'm use clisp. I'm quite experienced with PERL. A common pattern I use is: my $list = (1, 2, 3, 4, 5, 6); foreach my $i ($list) { print "$i\n"; } The "foreach" loop assigns each value of $list to $i in turn.... mikee2856(42)
clisp, regexp:match, and subgroups?619 (5/2/2012 4:49:52 PM) comp.lang.lisp Thank you everyone on my previous (loop...) question. I understand now more than I did. My next stumbling stone is (regexp:match...). I have this function where it is matching a pattern. I'm trying to extra... mikee2856(42)
assembling lists?527 (5/4/2012 5:49:55 PM) comp.lang.lisp Hi, I'm making progress on my program. I'm currently stuck trying to build a list to send to a different part of the program. What I did earlier in the program (which worked there) isn't working in a different... mikee2856(42)
speed of let vs. let*1326 (5/16/2012 6:27:00 PM) comp.lang.lisp I understand that the order of variables set in let is implementation dependent and the order of variables in let* proceeds from the first varable to the last. It seems that for my (simple) projects that I can ... mikee2856(42)
How to remove nil from a list?1027 (5/18/2012 5:43:21 PM) comp.lang.lisp Hi, I'm trying to remove a pair from a list. So far I have: (setq y1 '((#:X14 19) (TF TG) (A 5) (B 6) (C 7) (D 8))) => ((#:X14 19) (TF TG) (A 5) (B 6) (C 7) (D 8)) (map 'list #'(lambda (p) (if (not (eq (car p... mikee2856(42)
OT: How to calculate reputation scores?1620 (5/22/2012 4:51:49 PM) comp.lang.lisp General question (not LISP related): Many web sites have an article/message/user reputation based on the up or down votes the article/message/user receives. How is a reputation score calculated given only up a... mikee2856(42)
OT: How to calculate reputation scores?242 (5/22/2012 4:54:17 PM) comp.lang.perl.misc A general question, not PERL releated: Many web sites have an article/message/user reputation based on the up or down votes the article/message/user receives. How is a reputation score calculated given only up... mikee2856(42)
help please #2623 (10/31/2012 2:53:42 PM) comp.lang.lisp Again I'm return to learn LISP. My latest project is to write a simple
stock technical analysis program. One step of this program is to load
in a file of stock data. I'm using clisp 2.49. My code so far is:
... mikee2856(42)