Search found 85 matches
- Fri Jul 08, 2011 7:46 am
- Forum: Common Lisp
- Topic: Making hash table behave like array inside loop
- Replies: 5
- Views: 5600
Re: Making hash table behave like array inside loop
True, but it is also true that on the AS side if a hash-table key may be interpreted as integer, it is considered an array index... So, for example: var array:Array = []; array["100"] = 1; Will be considered an array of the length of 101. And if you then do: for (var i:int; i < array.leng...
- Fri Jul 08, 2011 1:52 am
- Forum: Common Lisp
- Topic: Ide help for the confused
- Replies: 16
- Views: 29579
Re: Ide help for the confused
If the issue is Windows then you can always go with Lispworks personal edition. The IDE (read: a nice Emacs clone ) is very good and without the laziness-inducing Eclipse environment Laziness must be hard-won. I can use Eclipse now. The regular newbie no.
Cheers
Cheers
- Fri Jul 08, 2011 1:48 am
- Forum: Common Lisp
- Topic: Making hash table behave like array inside loop
- Replies: 5
- Views: 5600
Re: Making hash table behave like array inside loop
The problem I have with your post is that you (or the AMF 3.0 people) have to define what is the result of roundtripping the "array-type". From the spec, reading an array-type will tell you how big the "dense" part is, plus it will tell you whether the "array" is "...
- Thu Jul 07, 2011 2:34 pm
- Forum: Common Lisp
- Topic: Ide help for the confused
- Replies: 16
- Views: 29579
Re: Ide help for the confused
Suggestion. NEVER use an IDE like Eclipse if you have not mastered the command line (or the "interpreter"); this suggestion is especially valid for Java and C++. Plus, CUSP locks you in with a single CL implementations.
Cheers
--
MA
Cheers
--
MA
- Thu Jul 07, 2011 2:30 pm
- Forum: Common Lisp
- Topic: XML Tools
- Replies: 6
- Views: 5762
Re: XML Tools
Not really if you use CXML or CL-XML. With CXML you are advised to use KLACKS which is a SAX-like parser.Indecipherable wrote:So do you think writing an AIML parser will be quite difficult?
--
Marco
- Fri Jul 01, 2011 7:10 am
- Forum: Common Lisp
- Topic: Alternative "defun"
- Replies: 2
- Views: 3235
- Sat Jun 25, 2011 1:14 pm
- Forum: Common Lisp
- Topic: Reading formatted data
- Replies: 13
- Views: 12482
Re: Reading formatted data
So the original question still remains: Is there any solution known how to read floating-point numbers in any print-format correctly? - edgar Yes. Even in Common Lisp, provided that you actually define the "floating point" syntax. Common Lisp defines one for you. I am sure that www.kli.or...
- Sat Jun 25, 2011 2:56 am
- Forum: Common Lisp
- Topic: Reading formatted data
- Replies: 13
- Views: 12482
Re: Reading formatted data
Guys... we (should) all have read Goldberg's paper, but that has little import to the OP question...
Cheers
Cheers
- Sat Jun 25, 2011 1:42 am
- Forum: Common Lisp
- Topic: Reading formatted data
- Replies: 13
- Views: 12482
Re: Reading formatted data
Thanks everybody. I hoped there would be some "easy" way to read in numeric data files. I am not able to use quicklisp behind a proxy and I dont know how to install all those libraries manually, so i'll give it up for now. Such simple tasks shouldnt be so non-obvious to do in Lisp, from a...
- Wed Jun 22, 2011 10:55 pm
- Forum: Common Lisp
- Topic: Pairing list elementes
- Replies: 6
- Views: 6761
Re: Pairing list elementes
Welllll. I suppose that - being the 23rd - there is no problem giving a way a piece of the assignment
Cheers
Code: Select all
(defun make-points (l)
(loop for (x y) on l by #'cddr collect (make-point x y)))