Hi Alex,
I inserted the (trace 'file) (on Cloud9) and what I get is this:
file :
file = (doc// default . 3)
/Jon
On 21-05-13 18:00 , Alexander Burger wrote:
Hi Jon,
files on the index list, since they have got URLs like
http://localhost:8080/doc/ref.html;. However, when I run my web.l
on
Hi Jon,
guessing from your code I'd try:
(when (= '(/ /) (tail 1 (chop Path)))
instead of
(when (= '(/ /) (tail 2 (chop Path)))
I can't get your code running, only the following error msg popping up:
? !? (ht:Pack Lst)
ht:Pack -- Undefined
Do I have to modify the 64-bit version, if yes,
Hi,
I've just installed OSX 10.8.3, Xcode 4.6.2 and Command Line Tools
(make, gcc, ...) on one of my Macs (but no Java yet), and I wanted to
see if something magical have happened that would make it possible for
me to build 64-bit PicoLisp, so I did the (cd src64; make). I then got
this:
Hi Oskar,
On 22-05-13 12:09 , Oskar Wieland wrote:
Hi Jon,
guessing from your code I'd try:
(when (= '(/ /) (tail 1 (chop Path)))
instead of
(when (= '(/ /) (tail 2 (chop Path)))
No, it has to be tail 2, as I want to detect when Path ends with // ...
: (= '(/ /) (tail 2 (chop
On 05/22/2013 06:32 PM, Jon Kleiser wrote:
No, you don't have to do any modifications (unless you're going to run
it at c9.io), at least it works for me on standard 32-bit. Did you try
this with my tiny web server code? That's where the libs are loaded:
(load lib/http.l lib/xhtml.l
Hi Oskar,
I can't get your code running, only the following error msg popping up:
? !? (ht:Pack Lst)
ht:Pack -- Undefined
Do I have to modify the 64-bit version, if yes, in what way?
This is strange. 'ht:Pack' (in the 'ht' library) is part of the PicoLisp
core. How did you install it?
Hi Jon,
to see if something magical have happened that would make it
possible for me to build 64-bit PicoLisp, so I did the (cd src64;
...
runtime. As I'm not very convinced that such a Java SE 6 runtime
would give me the 64-bit PicoLisp, I have not accepted that offer
yet. Am I wrong? ;-)
Hi Jon,
No, it has to be tail 2, as I want to detect when Path ends with // ...
: (= '(/ /) (tail 2 (chop doc//)))
- T
: (= '(/ /) (tail 1 (chop doc//)))
- NIL
Small optimization: 'tail' also works as a predicate if the
first argument is a list instead of a number. So
(= '(/ /) (tail
Hi Jon,
I inserted the (trace 'file) (on Cloud9) and what I get is this:
...
file = (doc// default . 3)
OK, good. That's the same I get.
Then Path must be doc//, and then doc/. So the problem is that
(href F (pack Path F))
somehow builds two doc/ fragments?
Then 'F' must also contain
I tried to build the emu version on OSX and it failed. Here is the culprit line:
emu.patch
Description: Binary data
Regards,
Jorge
On May 22, 2013, at 5:24 PM, Alexander Burger a...@software-lab.de wrote:
Hi Jon,
to see if something magical have happened that would make it
possible
Hi Jorge,
I tried to build the emu version on OSX and it failed. Here is the culprit
line:
Thanks! Unfortunately, it is not so easy, because then you get a warning
on 32-bit systems:
cast from pointer to integer of different size [-Wpointer-to-int-cast]
So for 32-bits, we must still
On May 22, 2013, at 8:19 PM, Alexander Burger a...@software-lab.de wrote:
Hi Jorge,
I tried to build the emu version on OSX and it failed. Here is the culprit
line:
Thanks! Unfortunately, it is not so easy, because then you get a warning
on 32-bit systems:
cast from pointer to
Add me, baby! ;-)
Hi Alex,
This is strange. 'ht:Pack' (in the 'ht' library) is part of the PicoLisp
core. How did you install it? Along the lines of the INSTALL file, or
from a Debian-Derivate?
I build the emu version along the lines of your INSTALL file.
With local installation mode on a 32-bit ubuntu 12.04.
14 matches
Mail list logo