Re: How to set IP address for socket?

2013-05-16 Thread Jon Kleiser
Hi Alex, I'll be off-line for a couple of days. Have a nice weekend! /Jon On 16-05-13 16:38 , Alexander Burger wrote: Hi Jon, stackoverflow) that works. It uses "server = TCPServer.open(host, port)" where 'host' is "127.6.26.129" and 'port' is 8080. Right now I see. So my proposal of calli

Re: How to set IP address for socket?

2013-05-16 Thread Jon Kleiser
Hi Alex & Rowan, As far as I can see, there is no other process listening on 8080 at the moment when I get this "Address already in use". However, I've just managed to put together a tiny Ruby server (found something on stackoverflow) that works. It uses "server = TCPServer.open(host, port)"

Re: How to set IP address for socket?

2013-05-14 Thread Jon Kleiser
Hi Alex, Thanks! The 'make' went fine now. However, when I try to run my web app now, I get "IP bind error: Address already in use". ;-) I think I may have to bother C9 Support again. /Jon On 14-05-13 15:58 , Alexander Burger wrote: Hi Jon, (.text+0x1c29c): undefined reference to `MyIpAddr

Re: How to set IP address for socket?

2013-05-14 Thread Jon Kleiser
Hi Alex, On 14-05-13 07:30 , Alexander Burger wrote: Hi Jon, After doing #1, lines 4-7 look like this: # (port ['T] 'cnt|(cnt . cnt) ['var]) -> cnt (code 'doPort 2) : MyIpAddr asciz "127.6.26.129" # may work on Cloud9 push X Sorry, no, this is the wrong place. You've put the const

Re: How to set IP address for socket?

2013-05-13 Thread Jon Kleiser
Hi Alex, > Hi Jon, > >> > >> >>Cloud9 IDE Support, I have to set the IP to which the socket (port >> >>8080) should bind, to 127.6.26.129. How do I set this IP in >> >>PicoLisp? >> ... >> At the moment, modifying "src64/net.l" sounds like the easiest way >> to get a web app running on Cloud9. Howe

Re: How to set IP address for socket?

2013-05-13 Thread Jon Kleiser
Hi Alex, On 13-05-13 13:43 , Alexander Burger wrote: Hi Jon, Cloud9 IDE Support, I have to set the IP to which the socket (port 8080) should bind, to 127.6.26.129. How do I set this IP in PicoLisp? Though I'm not very knowledgeable about those network issues, I'm afraid this is not directly p

Re: How to set IP address for socket?

2013-05-13 Thread Jon Kleiser
Hi Herman, On 13-05-13 14:29 , Tamas Herman wrote: hey jon, i haven't had a look at c9 for over a year now, so i checked on it today and i see they give a full shell in some kind of chroot on their own servers, then u can deploy to heroku too and finally they can even collaborate thru your own

How to set IP address for socket?

2013-05-13 Thread Jon Kleiser
Hi, I have tried to run a tiny PicoLisp based web application on the Cloud9 IDE (c9.io). PicoLisp itself (64-bit) runs fine, but I couldn't connect to my web app from outside Cloud9. According to Cloud9 IDE Support, I have to set the IP to which the socket (port 8080) should bind, to 127.6.26

Re: Web-server, index question

2013-05-10 Thread Jon Kleiser
Hi Alex, On 5/10/13 8:16 AM, Alexander Burger wrote: HI Jon, (html NIL "-index-" "@lib.css" NIL ( NIL (ht:Prin (car (file ) gives me a page that says "doc//", with two slashes at the end instead of just one ...? Strange, I see only one slash. How did you invoke it? I put this

Re: Web-server, index question

2013-05-09 Thread Jon Kleiser
Hi Alex, Thanks. I just don't understand why this script ... (html NIL "-index-" "@lib.css" NIL ( NIL (ht:Prin (car (file ) gives me a page that says "doc//", with two slashes at the end instead of just one ...? /Jon > Hi Jon, > >> get a listing of what's in the doc/ folder where t

Re: Web-server, index question

2013-05-09 Thread Jon Kleiser
Hi Alex, Thanks! With this little script in my doc/default file ... (html NIL "-index-" "@lib.css" NIL ( NIL ( NIL (for X (dir) ( NIL X ) .. I get a listing of files/folders in my main picoLisp folder. How do I get a listing of what's in the doc/ folder where this default file is? /

Web-server, index question

2013-05-09 Thread Jon Kleiser
Hi, I have written a very minimalistic toy web-server (just some 20 lines) that allows you to view HTML files in a certain folder. I use this (allowed ("doc/") "lib.css" "@lib/form.js") to limit the access. However, it could have been nice to have some 'index' function that could list all the

allowed example confusion

2013-05-09 Thread Jon Kleiser
Hi, In the docs here there's this example: --- (allowed ("app/") "!start" "@lib.css" "customer.l" "article.l" ) This is usually called in the beginning of an application, and allows access to the directory "@img/", to the function 'start'

Re: Testing leading dots in email

2013-05-08 Thread Jon Kleiser
Yes, this email (quoted below) had missing dots both in my Thunderbird Inbox and in the archive. I don't blame the archive then. This new email I send from a webmail client. Again I have .. a line with three dots up front. ;-) /Jon > Hi, > > As my last email with an answer to Henrik re. pl-web a

Testing leading dots in email

2013-05-08 Thread Jon Kleiser
Hi, As my last email with an answer to Henrik re. pl-web appeared in my Thunderbird as an empty email, I wanted to check how it looked in the archive. I found it here: It looked quite fine, except for two missing leading dot

Re: pl-web, almost a web development framework

2013-05-08 Thread Jon Kleiser
e on the upload folder? On Wed, May 8, 2013 at 4:32 PM, Jon Kleiser <mailto:jon.klei...@usit.uio.no>> wrote: Hi Henrik, I just tried your simple-web-app, using 32-bit PicoLisp (3.1.2.6 C) on my Mac. It seems to work, except for uploading files. I've tried uploa

Re: pl-web, almost a web development framework

2013-05-08 Thread Jon Kleiser
Hi Henrik, I just tried your simple-web-app, using 32-bit PicoLisp (3.1.2.6 C) on my Mac. It seems to work, except for uploading files. I've tried uploading a .jpg and a .txt file, but each time the server failed to return a response, probably hanging. I just got two empty files in the upload

sys & env

2013-05-06 Thread Jon Kleiser
Hi, Why is the 'sys' function, which "returns or sets a system environment variable", listed in the "Control Flow" category? I expected to find it in the "System Functions" category. In the "System Functions" category I find the 'env' function, which doesn't seem to do anything related to en

Re: Wiki recent changes

2012-11-24 Thread Jon Kleiser
> An important common feature of wikis is the ability to see recent changes. > I briefly looked and didn't see it on the picolisp wiki. Did I miss it? > > If not, would it be much to add? I can attempt a patch or will gladly > defer > to someone else. > > Just a thought. Thanks! I've been missing

Re: OpenGl.l and Segmentation fault

2012-11-09 Thread Jon Kleiser
Hi all, This is how it was done in simul/gl/glut.c, which worked with (32-bit) picoLisp-2.3.5: // (glut:BitmapCharacter 'fontNum 'character) -> T any BitmapCharacter(any ex) { void* font; int fontNum; int character; fontNum = (int)evCnt(ex, cdr(ex)); character = (int)evCnt

OpenGl.l and Segmentation fault

2012-11-08 Thread Jon Kleiser
Hi, Since I can now run OpenGL stuff using emu64 on Mac, I can continue some work to make OpenGl.l a little more complete (lots missing). The problem I have right now, is with glutBitmapCharacter and glutStrokeCharacter; they give me "Segmentation fault", and I suspect they'll fail on Linux a

Re: pil64emu, OpenGL?

2012-11-07 Thread Jon Kleiser
Hi, I suggest, in lib/openGl.l, to replace (default *GluLib "libGLU.so" *GlutLib "libglut.so" ) with (if (= *OS "Darwin") (default *GluLib "Frameworks/OpenGL.framework/OpenGL" *GlutLib "Frameworks/GLUT.framework/GLUT" ) (default *GluLib "/usr/lib/libGLU.so

A few quick emu/pil timings

2012-11-06 Thread Jon Kleiser
Hi, I installed the latest "ongoing" (v3.1.0.12) on my iMac, and compared the timing results of (bench (fibo 33)). Not too useful, I was just curious. ;-) pil32: 0.804 sec emu64: 10.032 sec My EmuLisp in Safari: 5.82 sec My EmuLisp in Chrome: 8.102 sec My EmuLisp in Chromium: 8.261 sec The

Re: pil64emu testing features

2012-11-05 Thread Jon Kleiser
Hi Alex, On 11/5/12 2:26 PM, Alexander Burger wrote: Hi Jon, I just tested the latest "ongoing" on my Mac, and it seems to work quite fine: Good. Something else: While I was looking into the 'misc' folder I found 'reverse.l' and 'setf.l' ("the most perverse concept ..."). Can you explain w

Re: pil64emu, OpenGL?

2012-11-05 Thread Jon Kleiser
Hi Alex, On 11/5/12 2:29 PM, Alexander Burger wrote: Hi Jon, I'm maybe a bit optimistic, but I had to try OpenGL with pil64emu (again on Mac) ... Not optimistic at all! I consider pil64emu as finished. Here OpenGL works already since last week. I tried, for example, your "pyramids.l" (also a

pil64emu, OpenGL?

2012-11-05 Thread Jon Kleiser
Hi Alex, I'm maybe a bit optimistic, but I had to try OpenGL with pil64emu (again on Mac) ... f3bmac3:picoLispEmu jkleiser$ ./pil somePath/tst64.l + [/Volumes/P3/Pico/gl64/tst64.l:7] !? (native "/usr/lib/libglut.so" "glutInit" NIL '(NIL (8) . 0)) [DLL] dlopen(/usr/lib/libglut.so, 9): image n

Re: pil64emu testing features

2012-11-05 Thread Jon Kleiser
Hi Alex, I just tested the latest "ongoing" on my Mac, and it seems to work quite fine: f3bmac3:picoLispEmu jkleiser$ (cd src64; make) emu.base.c: In function ‘run’: emu.base.c:42120: warning: format not a string literal and no format arguments emu.base.c:42175: warning: format not a string l

Re: pil64emu testing features

2012-11-04 Thread Jon Kleiser
Hi Alex, Things are looking much better now: MacBook-Air:picoLispEmu jkleiser$ (cd src64; make) emu.base.c: In function ‘run’: emu.base.c:42119: warning: format not a string literal and no format arguments emu.base.c:42174: warning: format not a string literal and no format arguments MacBook-Air:

Re: pil64emu testing features

2012-11-04 Thread Jon Kleiser
Hi Alex, > Hi Jon, > > so the only remaining issue with eum64 is currently the fact that > fcntl() gives a runtime error on the Mac: > >> MacBook-Air:picoLispEmu jkleiser$ ./pil + >> [/Users/jkleiser/.pil/history:1] File lock: Invalid argument > > This happens when it tries to lock the history fil

Re: pil64emu testing features

2012-11-03 Thread Jon Kleiser
Hi Alex, > Hi Jon, .. >> MacBook-Air:picoLispEmu jkleiser$ ./pil + >> [/Users/jkleiser/.pil/history:1] File lock: Invalid argument > > This is strange. I expected this error to be gone. Are you sure you used > the latest tarball (from yesterday, 02nov12, 18:35)? Yes, quite sure, and I have repeat

Re: pil64emu testing features

2012-11-02 Thread Jon Kleiser
Hi Alex, > On Fri, Nov 02, 2012 at 05:38:40PM +0100, Alexander Burger wrote: >> For some reason, fcntl() doesn't work. It workes on pil32, I believe. > > Perhaps found the reason. I've changed the calling pattern of fcntl(). > Please try once more. > > Cheers, > - Alex At least something has chan

Re: pil64emu testing features

2012-11-02 Thread Jon Kleiser
Hi Alex, On 11/2/12 4:30 PM, Alexander Burger wrote: Hi Jon, .. : (load "misc/fibo.l") [lib/native.l:31] !? (** 2 32) ** -- Undefined ? : (bye) It seems you started only "bin/picolisp", right? '**' is defined in "lib.l", so at least "bin/picolisp lib.l" must be started. As ever, the recomme

Re: pil64emu testing features

2012-11-02 Thread Jon Kleiser
Hi Alex, On 11/2/12 1:44 PM, Alexander Burger wrote: Hi Jon, Starting pil64emu with file argument, like "./bin/picolisp misc/fibo.l", still gives me a "Segmentation fault". What's definitely still missing is 'native' support. As "misc/fibo.l" also does some native stuff, perhaps this is the c

pil64emu testing features

2012-10-29 Thread Jon Kleiser
Hi Alex, Using the latest "ongoing" picoLisp, I have briefly tested coroutines in pil64emu, and it works. I used the pythag code at Starting pil64emu with file argument, like "./bin/picolisp misc/fibo.l", still gives me a "Segmentation fault". Ar

Re: Bug in misc/fibo.l

2012-10-26 Thread Jon Kleiser
Hi Alex, > Hi Jon, > >> E.g. (fibo 8) returns 34, while that should have been the result of >> (fibo 9). >> The bugs in fibo and cachedFibo are in lines 6 and 30 where "(if (> >> 2 N)" should have been "(if (>= 2 N)". > > Yes, I know. :) > > >> When this "=" got lost I don't know, but in picoLisp-

Bug in misc/fibo.l

2012-10-26 Thread Jon Kleiser
Hi Alex, I was just about to compare pil32 and pil64emu using the fibo function of misc/fibo.l, when I discovered that the results returned by fibo and cachedFibo where too high! (I haven't checked the other functions in misc/fibo.l) E.g. (fibo 8) returns 34, while that should have been the re

JavaScript 'lisp' calls

2012-10-11 Thread Jon Kleiser
Hi Alex, In the upper part of the CHANGES file of the ongoing development version, there's a line saying "JavaScript 'lisp' calls. Can you explain what this is about? /Jon -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Running PicoLisp in Acme

2012-09-28 Thread Jon Kleiser
Hi, A few days ago I saw Russ Cox's "A Tour of Acme" and got really interested. Today I installed "Plan 9 from User Space" on my Mac (also supports Linux, FreeBSD, NetBSD, OpenBSD, SunOS), and of course I had to try running PicoLi

Re: OSX and picoLisp 64-bit

2012-08-26 Thread Jon Kleiser
Hi, The last thread on this list related to this topic was probably the one I started in June last year, here: I know next to nothing about 64-bit Intel assembly or ELF and Mach executable formats, and I have probably only scrat

Re: Almost 2000 pages of PicoLisp

2012-08-26 Thread Jon Kleiser
Hi Thorsten, I now see that I missed this sentence at the end: "Note: As of picoLisp-3.0.6, the interpreter does no longer exit when the top level REPL reads NIL. This is a bit inconsistent, but more what seems to be expected by most people. - Alex 07feb11" Sorry for the noice. /

Re: Almost 2000 pages of PicoLisp

2012-08-24 Thread Jon Kleiser
Hi Thorsten, This is quite impressive!!! I think I've found the first item the should be corrected. In the FAQ on page 403 in "PicoLisp Works": "43.3 Why does the REPL exit when NIL is typed?" The REPL does not exit any longer. This behaviour was changed in version .. When? I cannot find

Enhanced ref doc for the 'for' forms

2012-07-23 Thread Jon Kleiser
Hi Alex, For quite some time I've felt that the ref. documentation for the 'for' forms could need some improvements. The 'for' function is a very important function, and for most people who are new to PicoLisp, it will be one of the first functions they will have to learn. At the same time, t

Re: PicoLisp assembler in JavaScript?

2012-03-06 Thread Jon Kleiser
Hi Alex, > Hi Jon, > >> implementation based on node.js. Would it be an idea to first write >> a PicoLisp assembler (equivalent to the one used in 64-bits PL) in >> JavaScript, so one could rip off all (or most of) the assembly code >> that 64-bits PL is written in? It seems like it could be a fun

PicoLisp assembler in JavaScript?

2012-03-06 Thread Jon Kleiser
Hi, I noticed Rudy's recent article "The Browser 'IS' The Data Base" , re. a possible PicoLisp implementation based on node.js. Would it be an idea to first write a PicoLisp assembler (equivalent to the one used in 64-bits PL) in JavaScript, so one could r

Re: Google Summer of Code (GSoC) 2012

2012-02-28 Thread Jon Kleiser
Hi all, On 2/28/12 11:26 AM, Alexander Burger wrote: Hi Joe, Doug, and anyone interested! On Mon, Feb 27, 2012 at 01:40:16PM +0100, Thorsten wrote: We prepared a GSoC 2012 page in the PicoLisp wiki (http://picolisp.com/5000/!wiki?gsoc), where you can find more information. ... For now (till 20

Re: PicoLisp SSL Problem

2012-02-15 Thread Jon Kleiser
Hi Alex, I had no problem connecting to https://wiki.picolisp.com when using Safari 5.1.2 on my Mac, but with Firefox 10.0.1 and Chrome 17.0.963.46 I got "connection was reset" and got no further. /Jon On 2/15/12 8:00 AM, Alexander Burger wrote: Hi all, since Firefox 10 (Windows) is out,

Please stop it

2012-02-07 Thread Jon Kleiser
On 2/8/12 3:44 AM, Thorsten wrote: Hi Alex, Hi list, > On January 23, 2012 at 2:02 PM Jon Kleiser wrote: > I am trying to brainstorm ways for people (Burger) to make a living Hi, Please stop "quoting" me as having written that about brainstorming. (You're not the fi

Social Share Privacy buttons in the PicoLisp Wiki

2012-02-01 Thread Jon Kleiser
Hi Alex, I may not see the benefit of having those buttons at the bottom of every page in the PicoLisp Wiki. If they will generate increased interest in PicoLisp, that is very fine, but will we/you be able to say whether they do so? I'm more uneasy with all that JavaScript code that comes wi

Re: javac ImageNoise, file location

2012-01-25 Thread Jon Kleiser
> On Wed, Jan 25, 2012 at 12:25:33PM +0100, Jon Kleiser wrote: >> Yes, if "tmp/" already exists, then it works. Maybe the "tmp/" >> should be created if it doesn't already exist ...? > > You mean in the "ersatz/pil" wrapper script, befo

Re: javac ImageNoise, file location

2012-01-25 Thread Jon Kleiser
On 1/25/12 11:51 AM, Alexander Burger wrote: On Tue, Jan 24, 2012 at 09:24:01PM +0100, Christian Kellermann wrote: * Jon Kleiser [120124 21:14]: With the ImageNoise script file in some other directory than the "picoLisp", where the "ersatz" and "tmp" are, then

javac ImageNoise, file location

2012-01-24 Thread Jon Kleiser
Hi Alex, I just tried your ImageNoise code, found here . I may have tried it, or some other javac sample code, earlier, as the following problem "rang a bell": With the ImageNoise script file in some other directory than the "picoLisp", where the "

Re: PicoLisp is DEAD (Was: PicoLisp and its (lack of) libraries)

2012-01-24 Thread Jon Kleiser
On 1/22/12 8:42 AM, Alexander Burger wrote: OK, I understand. The language is not useful or usable, and the "Community" (I count 70 members in this list) is silent. DEAD? My interpretation is "Dream Environment for Advanced Developers". ;-) However, I hope we can leave this thread ... d-e-a-d.

Re: PicoLisp is DEAD (Was: PicoLisp and its (lack of) libraries)

2012-01-23 Thread Jon Kleiser
It seems I've exposed my PicoLisp ignorance again ... Most of the functions in picoLisp/ersatz/lib.l, or possibly all except 'javac', are quite well explained in the regular docs. /Jon > Hi again, > > There were two functions in the Image_Noise example that I should have > known better: 'javac

Re: PicoLisp is DEAD (Was: PicoLisp and its (lack of) libraries)

2012-01-23 Thread Jon Kleiser
27;t be too hard to figure out what some of them are meant to do, but for quite a few of them it could be useful (for me) with a line or two of explanation. I understand that I cannot call myself a PicoLisp or Ersatz expert unless I know these functions. ;-) /Jon On Mon, 23 Jan 2012 16:

Re: PicoLisp is DEAD (Was: PicoLisp and its (lack of) libraries)

2012-01-23 Thread Jon Kleiser
Hi Alex, > Hi Jon, > >> thinking of, then I think you would need some way to extend existing >> Java classes, and override existing methods. I don't think this is >> possible today. Please inform me if I'm wrong. > > Well, yes and no ;-) > > After all, why (again) re-invent the wheel, if all ne

Re: PicoLisp is DEAD (Was: PicoLisp and its (lack of) libraries)

2012-01-23 Thread Jon Kleiser
On Mon, 23 Jan 2012 10:57:54 +0100 (CET), Jakob Eriksson wrote: ... > Today it's Java. The PicoLisp Java is actually cool in that it allows > you to integrate with any legacy system the customer might have in > Java. I like having the possibility to make use of Java solutions (e.g. the Sw

Re: Announce: ErsatzLisp (Java PicoLisp)

2011-12-08 Thread Jon Kleiser
Hi Alex, Is the "update" below what's available on Ersatz documentation? I couldn't find this info anywhere else. I think it would have been nice to have a link to this kind of Ersatz documentation from the wiki. /Jon On 11/4/10 7:53 PM, Alexander Burger wrote: Hi all, here is an update.

Swing REPL written in Ersatz PicoLisp

2011-12-06 Thread Jon Kleiser
Hi, I just wanted to do a tiny little toy project using Ersatz PicoLisp and Swing GUI. Here it is: Let me know if there are things that can be improved without adding too much code. I would also be interested in hearing about other more fancy projec

Re: float & unwanted indentation in the wiki

2011-12-02 Thread Jon Kleiser
Hi Alex, On 12/2/11 9:43 AM, Alexander Burger wrote: Hi Jon, My idea was to add this to wiki.css: h1, h2 { clear: both; } .. if not this: h1, h2, h3, h4, h5, h6 { clear: both; } Yes, right, this is the pure CSS way. On the other hand, "wiki.css" already had the separate 'clr' cla

Re: float & unwanted indentation in the wiki

2011-12-02 Thread Jon Kleiser
Hi Alex, On 12/1/11 5:44 PM, Alexander Burger wrote: Hi Jon, that's indeed interesting. I didn't dive deep enough into the layout details yet. Giving the headers a "clear" style is a good idea. I'll extend the call to '_render' headers to pass the "clr" class. My idea was to add this to wiki.

Re: float & unwanted indentation in the wiki

2011-12-01 Thread Jon Kleiser
Hi Alex, I think &{-1} is a very good choice. And it works! ;-) /Jon > On Thu, Dec 01, 2011 at 05:44:52PM +0100, Alexander Burger wrote: >> Giving the headers a "clear" style is a good idea. I'll extend the call >> to '_render' headers to pass the "clr" class. >> >> Concerning the &{1} markup: W

float & unwanted indentation in the wiki

2011-12-01 Thread Jon Kleiser
Hi, I've discovered a layout imperfection in the PicoLisp wiki that has to do with the use of "float" in the css. I have made a static demo page that illustrates the problem, and also suggests solutions. It's here: Just ignore the menu to the left

Re: Announce: Wiki full-text search

2011-11-18 Thread Jon Kleiser
Hi again, When I search for a short word like "the", I get no search results. I guess there are too many matches to be of interest. Maybe a text like "more than xxx matches" could be shown instead? /Jon > Hi all, > > the PicoLisp Wiki at http://home.picolisp.com now has a search field. > > With

Re: Announce: Wiki full-text search

2011-11-18 Thread Jon Kleiser
Hi Alex, Very nice! I welcome that search function. When I tried it, I found an interesting article I hadn't seen before: "Need for Speed". And I spotted a small typo: "The are, however, not" should probably be "They are ...". I leave it to you to correct it, as I don't want to "steal" your articl

Re: Does 'doc' require Global Installation?

2011-11-11 Thread Jon Kleiser
Hi Alex, Thanks! By invoking PicoLisp using the global path, I'm now able to view the docs by specifying my shell script, like this: (doc '+ "openurl.sh") .. and after having done this: export BROWSER=openurl.sh .. I only have to do (doc '+). Very nice! /Jon On 11/11/11 2:24 PM, Alexander Bur

Re: Does 'doc' require Global Installation?

2011-11-11 Thread Jon Kleiser
Hi Alex, It may very well be that 'cat' cannot handle an URL, but when I try this: (doc '+ "echo") then I get this: file:doc/ref_.html#+ It still seems to me that this path is more relative than absolute. I have made a tiny Mac OS X shell script that opens up a given URL using my default brows

Does 'doc' require Global Installation?

2011-11-10 Thread Jon Kleiser
Hi, I tried this (using PicoLisp 3.0.7.3 C on my Mac): (doc '+ "cat") and got this: cat: file:doc/ref_.html#+: No such file or directory Does this mean that the 'doc' function requires "global installation" of PicoLisp? /Jon -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: Terminal control/Coloured text on Mac

2011-09-27 Thread Jon Kleiser
Hi Alex, On 9/27/11 1:48 PM, Alexander Burger wrote: Hi Jon, thanks for the feedback! :) To get colored text on my Mac, I had to include "xterm-color" in the first line, like this: (unless (member (sys "TERM") '("linux" "xterm" "xterm-color" "rxvt")) Great! Perhaps you like to add it to the

Terminal control/Coloured text on Mac

2011-09-27 Thread Jon Kleiser
Hi Alex, I saw your recent entry here: To get colored text on my Mac, I had to include "xterm-color" in the first line, like this: (unless (member (sys "TERM") '("linux" "xterm" "xterm-color" "rxvt")) The flashing of the l

Re: Rendering TeX and PDF in the Wiki

2011-08-01 Thread Jon Kleiser
Hi Alex, That's a very nice feature! The PDFs look great. (I haven't texted the TeX.) /Jon On 29-07-11 12:48 , Alexander Burger wrote: Hi all, the PicoLisp wiki at http://home.picolisp.com now also generates TeX and PDF documents! At the bottom of each HTML page appear two links, "TeX" and "

Re: 64-bit problem on Mac

2011-07-15 Thread Jon Kleiser
Hi Alex, > Hi Jon, > >> I now re-did everything from scratch, in a new clean "ongoing test", and >> I >> think the results are now more what you had expected. The error messages >> were now just this: >> sed: 1: "x86-64.darwin.base.s": extra characters at the end of x command > > Ah, OK, this make

Re: 64-bit problem on Mac

2011-06-23 Thread Jon Kleiser
Hi Alex, > Hi Jon, > >> >What helps in such cases is usually writing code snippets in C, compile >> >them to assembly code (the "-S" option to gcc), and study that. >> .. >> I think this sounds like something to try. Do you have any >> suggestions for code snippets in C that can be useful? > > OK.

Re: 64-bit problem on Mac

2011-06-23 Thread Jon Kleiser
Hi Alex, On 23-06-11 10:11 , Alexander Burger wrote: Hi Jon, I've now got an answer to my question at http://stackoverflow.com/questions/6384961/osx-gnu-assembler-problem-with-call-fooplt Nice. Matthew Slattery says: .. 1. "PLT" is an ELF concept, but OS X uses a completely different

Re: 64-bit problem on Mac

2011-06-23 Thread Jon Kleiser
On 16-06-11 12:54 , Alexander Burger wrote: On Thu, Jun 16, 2011 at 12:02:23PM +0200, Alexander Burger wrote: As far as I remember, the only remaining problem was not that of the assembler, but of the linker, or, more correctly, the final output file format. The last time we discussed it here w

Re: 64-bit problem on Mac

2011-06-16 Thread Jon Kleiser
Hi Alex, > Hi Jon, > >> I wanted to look at the old problem of building 64-bit PicoLisp on Mac >> OS > > Great! :) .. > I hope this gives you some hints to get started. We can try to tackle > this together once we find out what exactly goes wrong. > > Cheers, > - Alex It's probably best to contin

64-bit problem on Mac

2011-06-16 Thread Jon Kleiser
Hi, I wanted to look at the old problem of building 64-bit PicoLisp on Mac OS X. Assemblers are far from what I usually play with, but at least I'd like to spend a few hours today on this problem. >From what I've found on the net, I got the impression that the standard (?) assembler on OSX is "nas

Re: openGL

2011-04-18 Thread Jon Kleiser
Hi Thorsten, On 18-04-11 12:33 , Thorsten wrote: Hi Jon, I was just trying to understand how an external library is made part of PicoLisp. I must admit I can only find one version of openGL.l in the lib folder (probably the 64-bit version), but may be I didn´t look in all the places I guess you'

Re: openGL

2011-04-16 Thread Jon Kleiser
Hi Thorsten, 1. No, none of the OpenGL libraries included with PicoLisp is complete. If there are functions or constants that you're missing, just let us know. Maybe you figure out how to add them yourself. It's not very hard. Are you using the 32- or 64-bit PicoLisp? The OpenGL libraries

Re: Flight Simulator

2011-04-06 Thread Jon Kleiser
Hi Alex, I'm quite sure it's possible to make the browser handle the PLIO format, and I would like to give it a try. Before I can start doing anything related to that format, however, I need to do some simple experiments in WebGL, as programming for WebGL looks a bit more complicated than the

Re: Flight Simulator

2011-04-05 Thread Jon Kleiser
Hi Alex, On 05-04-11 13:48 , Alexander Burger wrote: Hi Jon, how much work would it involve if we ported the 'rcsim' flight simulator to our new OpenGL library? Or, perhaps even better: How about investigating WebGL? Is a port of your 'rcsim' flight simulator still interesting? I Yes, sure!

Re: Flight Simulator

2011-04-05 Thread Jon Kleiser
Hi Alex, On 27-08-10 16:05 , Alexander Burger wrote: On Fri, Aug 27, 2010 at 03:54:39PM +0200, Alexander Burger wrote: how much work would it involve if we ported the 'rcsim' flight simulator to our new OpenGL library? Or, perhaps even better: How about investigating WebGL? Is a port of your '

Re: Inferior processes and access to foreign libraries

2011-03-24 Thread Jon Kleiser
Hi Alex, On 24-03-11 16:21 , Alexander Burger wrote: Hi Jon, This overview of the different ways of integration with other software is very good! It deserves a place in the wiki. ;-) Good idea! I'm still not sure, however, if it is complete. I'm getting a bit confused about that, it is the o

Re: Inferior processes and access to foreign libraries

2011-03-24 Thread Jon Kleiser
Hi Alex, This overview of the different ways of integration with other software is very good! It deserves a place in the wiki. ;-) /Jon On 24-03-11 15:08 , Alexander Burger wrote: Hi Thorsten, I wonder if one could build a picolisp app that fully integrates with R (statistics software, htt

Check for repeating circular lists

2011-03-04 Thread Jon Kleiser
Hi Alex, I noticed here that you did an update re. "Check for repeating circular lists" the other day. Is a "repeating circular lists" a special case of a circular lists? If so, could you give an example of such a repeating circular lists? /Jo

Re: PicoLisp and Arrays

2011-02-22 Thread Jon Kleiser
On 22-02-11 10:26 , Jakob Eriksson wrote: On Tue, Feb 22, 2011 at 08:31:43AM +0100, Alexander Burger wrote: So, again, thanks to you all for the support! I don't have to defend that design decision in the future again! :) With new users, this will come up over and over again. But now there is s

Re: PicoLisp and Emacs

2011-02-08 Thread Jon Kleiser
On 07-02-11 10:10 , Jon Kleiser wrote: Hi Steve, Yes, you are right, that's my name. I once corrected a couple of typos in that article, and now one gets the impression that I'm the main author. In my opinion, that's a weakness of this wiki. ;-) /Jon On 06-02-11 21:18 , Ste

Re: Announce: Some sensitive changes

2011-01-19 Thread Jon Kleiser
Hi Alex, I welcome #2, *Tsm off by default. /Jon On 18-01-11 18:02 , Alexander Burger wrote: Hi all, after some lengthy discussions in IRC today, we decided to change some sensitive features of the PicoLisp interpreter environment: 1. On the command line, debug mode can now enabled by append

Re: java proxy, nil vs. NIL

2011-01-14 Thread Jon Kleiser
Hi Alex, I have now installed SoyLatte Java 1.6 on one of my Macs (OS X 10.5.8), and it enables me to run ErsatzLisp stuff. In your code below I notice you use "nil" instead of "NIL". Why is that? /Jon On 03-12-10 09:00 , Alexander Burger wrote: Hi Tomas, Why does your code (java Lab

Re: just a big THANK YOU

2010-12-22 Thread Jon Kleiser
A Merry Xmas and a Lispful New Year to all of you! /Jon -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

Re: Announce: ErsatzLisp (Java PicoLisp)

2010-11-18 Thread Jon Kleiser
Hi Alex, I'll try to find an example to test it. ;-) /Jon On 18-11-10 09:50 , Alexander Burger wrote: Hi Jon, (public 'obj 'any) -> obj Returns the value of a public field 'any' in object 'obj' (public 'cls 'any) -> obj Returns the value of a public field 'any' in

Re: Announce: ErsatzLisp (Java PicoLisp)

2010-11-18 Thread Jon Kleiser
Hi again, On 04-11-10 19:53 , Alexander Burger wrote: Hi all, here is an update. Besides the basic I/O system and half-baked network functions (until now only 'connect', 'accept' and a partial 'port'), we have now a set of functions interfacing to the Java Reflection API. I'd like to describe

Re: Announce: ErsatzLisp (Java PicoLisp)

2010-11-17 Thread Jon Kleiser
Hi Alex, In your description below I can see no way to - set a value of a public field of an object, or - set a value of a public field of a class Is this something that you may add later? /Jon On 04-11-10 19:53 , Alexander Burger wrote: Hi all, here is an update. Besides the basic I/O sys

Re: Announce: ErsatzLisp (Java PicoLisp)

2010-11-15 Thread Jon Kleiser
Hi Alex, I've now had the chance to test your latest ErsatzLisp, on a Linux machine. When I tried "(data @)" in your Example below, I got "data -- Undefined". Did you change something lately? Will this 'java' function be documented somewhere? ;-) Do you now if it would be possible, or easy,

Re: Done! -- Was: Announce: ErsatzLisp (Java PicoLisp)

2010-11-13 Thread Jon Kleiser
On Fri, 12 Nov 2010 20:04:01 +0100, Alexander Burger wrote: > On Sat, Oct 30, 2010 at 07:07:01PM +0200, Alexander Burger wrote: >> In the near future I will continue, trying to supply as many missing >> parts as possible. The next will probably be the *Run/task >> mechanisms >> (using java.nio

Re: tracing method calls

2010-11-11 Thread Jon Kleiser
Hi Mansur, Yes, the explanation seems to lie at the end of this line ... print(car(x)), space(), print(cdr(x)), space(), print(val(This)); .. in traceIndent(int i, any x, char *s) in src/flow.c. Thanks! /Jon On 11-11-10 04:38 , Mansur Mamkin wrote: Hi Jon! Maybe this will help: look at do

tracing method calls

2010-11-10 Thread Jon Kleiser
Hi, I'm taking a closer look at the '$' low level trace function. In the ref. I read that "if a method is traced, it [the first argument] is a cons pair of message and class. However, when I try this, I also get to see a representation of the object, but I have trouble understanding wher

Re: Announce: ErsatzLisp (Java PicoLisp)

2010-11-05 Thread Jon Kleiser
On 11/5/10 10:56 AM, Alexander Burger wrote: Hi Jon, This looks very interesting. However, I have some problems building ersatz on my Intel Mac: ..:picoLisp jkleiser$ (cd ersatz; ./mkJar) PicoLisp.java:15: cannot find symbol symbol : class Console I see. java.io.Console is avaliable only in

Re: Announce: ErsatzLisp (Java PicoLisp)

2010-11-05 Thread Jon Kleiser
Hi Alex, This looks very interesting. However, I have some problems building ersatz on my Intel Mac: ..:picoLisp jkleiser$ (cd ersatz; ./mkJar) PicoLisp.java:15: cannot find symbol symbol : class Console location: class PicoLisp final static Console Term = System.console();

trace, strange behaviour

2010-11-03 Thread Jon Kleiser
Hi, Just out of curiosity: Why does (trace 'if) cause such strange behaviour when I try to type in more commands? /Jon -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

Re: PicoLisp Wiki: The core language of PicoLisp

2010-10-12 Thread Jon Kleiser
Hi Alex, On 10/12/10 9:51 AM, Alexander Burger wrote: Hi Jon, That's a possibility. I can't say exactly when, but something needs to be done quick. ;-) OK, I fixed the offending part ;-) Now it says "The values are not bound to the variables one by one". It should probably have been "The

<    1   2   3   4   5   >