Search found 3 matches

by greenbeer
Fri Jul 10, 2009 12:11 pm
Forum: Common Lisp
Topic: time in Texas Hold'em
Replies: 6
Views: 8697

Re: time in Texas Hold'em

From this article http://norvig.com/python-lisp.html follows that CMUCL compiler is fast too.
by greenbeer
Fri Jul 10, 2009 2:47 am
Forum: Common Lisp
Topic: time in Texas Hold'em
Replies: 6
Views: 8697

time in Texas Hold'em

I wrote Texas Hold'em calculator in cl. (This program in cl is of course open source, not commerial :) ) It goes good but there is a big time difference of evaluation in sbcl and clisp. For example: when we have hand: Jack of Diamonds and Queen of Diamonds and there is three hidden opponents: i get ...
by greenbeer
Mon Apr 06, 2009 2:53 pm
Forum: Common Lisp
Topic: between defun and defmacro
Replies: 3
Views: 7449

between defun and defmacro

Hello! Is it possible in common lisp to write macro which interprets part of arguments like defmacro and other part like defun? For example, something like: (def-amazing-macro leopard (dog &value cat) `(if ,dog "war is over" cat)) (let ((x "happy old year")) (leopard (> 4.99 ...