Pico, How to add new class to existing object?

2008-03-31 Thread Jon Kleiser
I have a couple of OO questions: If I have defined some classes +A, +B and +C, and made an object X by doing ... (setq X (new '(+A +B))) .. is it possible later to include the class +C among the classes +A and +B for this object X? If yes, how? And if I wanted this object X to have a new

Pico, OpenGL menus, refresh problem

2008-04-01 Thread Jon Kleiser
I'm working on a Pico Lisp application that uses OpenGL, and I thought it would be nice to make use of an OpenGL popup menu. I made some additions in the files glut.c and lib.l that can be found here http://folk.uio.no/jkleiser/pico/gl/, and I also wrote a simple menu-test.l to check if it

Pico, simul/gl/Makefile on Mac (was OpenGL menus...)

2008-04-07 Thread Jon Kleiser
Hi Alex, If I comment out the export MACOSX_DEPLOYMENT_TARGET=10.4 and try to (cd simul/gl; make) on my old PPC Mac (with OSX 10.4.11), I get this: gcc -c -O -pipe \ -falign-functions -fomit-frame-pointer \ -W -Wimplicit -Wreturn-type -Wunused -Wformat \ -Wuninitialized -Wstrict-prototypes \

Pico, Carbon and/or Cocoa (was OpenGL menus...)

2008-04-07 Thread Jon Kleiser
Hi Anthony, It could be fun to play with a Pico Lisp Cocoa application, but generally I prefer to write stuff that's more platform independent. /Jon think that specifying the target in the Makefile does not permit one to optimize for the local system, in my case for MacOS 10.5, and it is

Re: Pico, handling requests from jQuery

2008-05-16 Thread Jon Kleiser
Hi again, I would like to make a little Pico Lisp HTTP server that can handle XMLHttpRequests from jQuery.getJSON(...), and I wonder if I can use lib/http.l. If you don't know jQuery.getJSON, you can find some info and a nice little demo here:

Re: Pico, handling requests from jQuery

2008-05-17 Thread Jon Kleiser
Hi Alex, this is really funny. Just of today I'm working on a similar problem. As I don't know JSON, however, I tried a direct approach with JS. The mechanism looks surprisingly similar to what you wrote. JSON is just a data format that is closer to JavaScript than is XML. {x: 11, y: 22, z:

Pico, (locale XY) error handling?

2008-05-20 Thread Jon Kleiser
Hi, I just experienced this: : (locale NO) !? (load (if (setq *Ctry Ctry) (pack @loc/ @) @loc/NIL)) loc/NO open: No such file or directory Does Pico Lisp have an error handling mechanism that can handle errors like this? /Jon -- UNSUBSCRIBE: mailto:[EMAIL PROTECTED]

Re: Variable number of arguments in SVG functions

2008-10-21 Thread Jon Kleiser
Hi Alex, Hi Jon, The test (if (car Lst) ... determines whether the current element is a container (hoy) or not (inner). Is the 'car' necessary? Otherwise a simple test of 'Lst' would suffice. No, it seems to work quite well without the 'car'. ;-) BTW, I always feel that a 'prog' is a

Re: Released picoLisp-2.3.4

2009-01-01 Thread Jon Kleiser
Hi Alex, Happy New Year! You mean 2.3.5, don't you? /Jon Hi all, please note that since yesterday picoLisp-2.3.4 is out. .. Cheers, - Alex -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

Subscribe

2009-06-16 Thread Jon Kleiser
Hello Jon Kleiser jon.klei...@usit.uio.no :-) You are now subscribed -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

Re: Pico Bus error with OpenGL on Mac

2009-06-18 Thread Jon Kleiser
Hi Tomas, Thanks for the suggestions. I may try some of those options, but not until I'm back from vacation some time in July. Me and my wife fly to Budapest on Monday. After Budapest we'll see what happens ... ;-) /Jon On 6/17/09 10:13 PM, Tomas Hlavaty wrote: Hi Jon, I tried this now,

Re: Pico Bus error with OpenGL on Mac

2009-07-18 Thread Jon Kleiser
Hi, I have confirmed that this results in an immediate crash when I use Pico Lisp 2.3.6 or newer on my Mac. However, I'm not sure what I can do further to reveal what causes the memory to be overwritten. Any ideas? /Jon On 6/26/09 10:13 AM, Alexander Burger wrote: Hi all, now Randall and

Re: Pico build problem on Mac OS X 10.6

2009-09-07 Thread Jon Kleiser
On 9/7/09 7:53 AM, Alexander Burger wrote: On Sun, Sep 06, 2009 at 10:48:17PM +0200, Jon Kleiser wrote: I've just installed Mac OS X 10.6, aka Snow Leopard, on a partition on my Mac (Intel Core 2 Duo, which probably means 32 bit only), and I was ... picolisp). The results weren't too nice

Re: Installation on PowerPC Mac running OS X 10.411

2009-09-14 Thread Jon Kleiser
Hi, The latest Pico Lisp I have built on my PowerPC Mac (w/10.4.11), seems to be picoLisp-2.3.0. /Jon Hello, I am having a bit of a problem installing picolisp on a PowerPC Mac running OS X 10.411. Here is the command line output after running the make command.

Sum of digits

2009-09-19 Thread Jon Kleiser
Hi, I wanted to compare how to do sum of digits in Scala and Pico Lisp, and to my surprise my Pico Lisp version was much slower than my Scala version. Well, Scala is a compiled language, but I hadn't anticipated that big a difference. My test input number was a rather big one: (2^100 + 3^200)^300

Re: suggestion to change in Makefile

2009-12-09 Thread Jon Kleiser
Hi Alex, Your new testing release works fine on my Intel Mac. The test gives OK. /Jon Hi Jon, hi Mansur, When I do ... $(/bin/pwd)/p lib/test.l -bye .. then I get OK. Yep, the explicit path is essential, because otherwise the path-checking routines have no path to check for ;-) So,

Re: Wikipedia

2010-01-04 Thread Jon Kleiser
Cheer up, Alex! Without some of your articles being mentioned on Lambda the Ultimate back in 2007, I would probably not have heard of PicoLisp. I'm glad I got to know it. In my opinion PicoLisp is a shining gem, and by studying it one can learn a lot about different and clever ways to do

Re: Wiki, logo

2010-01-07 Thread Jon Kleiser
On 1/7/10 9:23 AM, Alexander Burger wrote: Hi Eugene, in picoFarad, which uses the symbol Rho and of course Lamda in recognition of Lisp Thanks! For further discussion, I've also put it onto the test page. Cheers, - Alex I have never seen picoFarad written with the symbol Rho, only as

Re: Wiki, logo

2010-01-08 Thread Jon Kleiser
On 1/7/10 11:56 PM, Eugene wrote: Hi Eugene, For some reason, your mails seem all empty in my Thunderbird mail app., and when I check http://www.mail-archive.com/picolisp@software-lab.de/maillist.html, I cannot find your mails there either. Are you operating in stealth mode? ;-) /Jon --

Re: Wiki, logo

2010-01-14 Thread Jon Kleiser
On 1/14/10 10:30 AM, Boh Yap wrote: hi alex, I am the one that is impressed by what you have done.. PicoLisp. .. Hi Boh Yap, I think your logos are quite elegant. I have made some tweaks to the 3-armed variant lately, but they probably are not as elegant as yours. They can be seen here:

Re: Files for Norwegian locale

2010-01-18 Thread Jon Kleiser
On 1/15/10 7:18 AM, Alexander Burger wrote: On Thu, Jan 14, 2010 at 03:37:35PM +0100, Jon Kleiser wrote: Let me know if there are more locale files I have to create. As soon as we have the wiki sources in the hg repository, we should provide locale files for that too. Hi, I just downloaded

Re: PicoLisp and eval.

2010-01-30 Thread Jon Kleiser
Hi, Kazimir's mail arrived empty in my Thunderbird, and doesn't show at all in the PicoLisp mail archive here: http://www.mail-archive.com/picolisp@software-lab.de/ .. just like the mail from Eugene a while back. /Jon Hello Kazimir, thank you for performing the tests! Interesting to see :-)

Re: Wiki at home.picolisp.com

2010-04-09 Thread Jon Kleiser
Hi Alex, It's great to see the wiki is up and running! I tried to log in, but of course I don't remember if I already have a name and password, and if I have, what that might be. As I tried different combinations, however, I noticed that every now and then the red-on-yellow message

Re: Wiki at home.picolisp.com

2010-04-10 Thread Jon Kleiser
Hi Tomas, Hi Jon, And, will it be a way to select a language other than English? you mean like this? http://translate.google.com/translate?hl=enie=UTF-8sl=entl=csu=http://home.picolisp.com/prev=_t :-) Tomas Not exactly ;-), but I'm quite impressed by the quality of Google's Norwegian

How to launch local wiki?

2010-04-14 Thread Jon Kleiser
Hi, I would like to try the PicoLisp wiki code on my own machine, but I'm not sure what's the right way to launch it. Can the wiki directory be outside the picoLisp directory? Which should be the current directory? /Jon -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

Re: How to launch local wiki?

2010-04-14 Thread Jon Kleiser
Hi Alex, On 4/14/10 10:44 AM, Alexander Burger wrote: Hi Jon, I would like to try the PicoLisp wiki code on my own machine, but I'm not sure what's the right way to launch it. Can the wiki directory be outside the picoLisp directory? Which should be the current directory? I wouldn't

Re: Problem uploading image in local wiki

2010-04-18 Thread Jon Kleiser
Hi Alex, Hi Jon, I have also tried this with Firefox on Mac. No image showing there either. ... I believe this probably isn't really a PicoLisp wiki problem. I've changed my mind: I think this is a PicoLisp wiki problem. ;-) After all, I have successfully uploaded a wiki logo and a picture

Re: Problem uploading image in local wiki

2010-04-18 Thread Jon Kleiser
Hi Alex, Hi Jon, I've changed my mind: I think this is a PicoLisp wiki problem. ;-) Yes, it must be somehow. After all, I have successfully uploaded a wiki logo and a picture of myself to my local wiki. It's just the embedded ones, {...} and {...}, I have problems with. The difference

Re: Problem uploading image in local wiki

2010-04-18 Thread Jon Kleiser
Hi again, Alex. Hi Jon, Really? In the generated HTML code? E.g. if you view the page source in your browser? Yes, there's no img ... tag in the generated page source, just the MyImg as plain text where the tag should have been. OK, then I it was indeed the case that the 'file'

Re: How to delete document from Wiki?

2010-04-23 Thread Jon Kleiser
Hi Alex, On 4/23/10 11:02 AM, Alexander Burger wrote: Hi Jon, I wanted to delete my imagetestopera document from the wiki, but both the Edit and the Delete buttons are disabled. Why? Oops, sorry! There were two errors: - The Member role didn't have the Delete permission enabled.

Some technical questions and answers

2010-04-23 Thread Jon Kleiser
Hi, Now I have entered a few questions here: http://picolisp.com/5000/-2-L.html As I did so, I found that it would have been nice to have a markup code to produce a br/ break. What about {} ? (I haven't checked whether our wiki markup follows other more established wiki markup systems.)

Variable expected

2010-04-25 Thread Jon Kleiser
Hi, I just stumbled acros this: : (car ((list 1 2 3) 4)) !? (car ((list 1 2 3) 4)) 3 -- Variable expected Why is a variable expected in this position? /Jon -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

NIL -- Undefined

2010-04-25 Thread Jon Kleiser
Hi, : (list) - (NIL) That's fine, but why is this a problem then: : (NIL) !? (NIL) NIL -- Undefined /Jon -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

Re: NIL -- Undefined

2010-04-25 Thread Jon Kleiser
Hi, : (list) - (NIL) That's fine, ... Or is it? Why doesn't (list) evaluate to the same as () ? I see that : (length (list)) - 1 : (length (list 'A)) - 1 : (length ()) - 0 /Jon -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

Re: NIL -- Undefined

2010-04-25 Thread Jon Kleiser
Hi Alex, Thanks for the useful information! And thanks for using Sunday mornings for things that matters. ;-) /Jon On Sun, Apr 25, 2010 at 10:15:16AM +0200, Jon Kleiser wrote: : (list) - (NIL) That's fine, ... Or is it? Why doesn't (list) evaluate to the same

Re: PicoLisp wiki, TimeOut?

2010-04-27 Thread Jon Kleiser
Hi Alex, Here is a demo of what I was thinking of: http://folk.uio.no/jkleiser/pico/experiment/timeoutdemo.html If you think it could be useful, you can pick the parts you like. Another detail: When one logs into the wiki, and then later logs out, the timeout info should be removed, and if

Re: Quoted text in the dbg REPL

2010-05-01 Thread Jon Kleiser
Hi Alex, Re. your last comment ... Up until picoLisp-3.0.2 I had also changed the complete reference documenation to show transient symbols with u and /u. There were complaints, however, that this makes copy/paste of the examples difficult, so I reverted the reference to double quote display. It

The 'read' function w/arguments

2010-06-02 Thread Jon Kleiser
Hi, When I try this example from the docs ... (make (while (read _ #) (link @))) .. I'm not able to get out of the while loop by typing NIL, as the docs imply. I have tried both with ./p and with ./dbg. I'm using a PicoLisp from 24 April this year. If I just do a (make (while (read) (link

Linux image for 64-bit PicoLisp

2010-06-14 Thread Jon Kleiser
Hi, I would like to try the 64-bit PicoLisp on my Intel Mac, and I guess using the (now Oracle) VirtualBox should be one possible way to go. I could maybe start off using one of the GNU/Linux images available here: http://virtualboxes.org/images/ However, to get the 64-bit PicoLisp up and

Re: Linux image for 64-bit PicoLisp

2010-06-14 Thread Jon Kleiser
Hi Alex and Henrik, Would the Linux system or my Mac, or both, have to be in 64-bit mode for the 64-bit PicoLisp to work? I would say: yes. Because a 32-bit Linux cannot execute 64-bit binaries (the other way round works, though) Why do you need a ready-made Linux image? Isn't there a

Re: Linux image for 64-bit PicoLisp

2010-07-21 Thread Jon Kleiser
Hi Alex and Henrik, Would the Linux system or my Mac, or both, have to be in 64-bit mode for the 64-bit PicoLisp to work? I would say: yes. Because a 32-bit Linux cannot execute 64-bit binaries (the other way round works, though) Why do you need a ready-made Linux image? Isn't there a

Re: Linux image for 64-bit PicoLisp, OpenGL

2010-07-21 Thread Jon Kleiser
Hi Alex, I have some time available today and tomorrow. At least we could get started on the 64-bit OpenGL library. Re. VirtualBox: It's also available (for free) for Linux hosts, here: http://www.virtualbox.org/wiki/Linux_Downloads If you're interested, you might be able to run 64-bit Ubuntu

Strange sort behaviour

2010-08-19 Thread Jon Kleiser
Hi, The docs on the 'sort' function says Sorts lst by destructively exchanging its elements. From this I get the impression that (let L (3 2 5 4) (sort L) L) should give the same result as (let L (3 2 5 4) (sort L)) but that's not so, as the first one reveals that L get the value (3 4 5),

put, applying get algorithm

2010-08-26 Thread Jon Kleiser
Hi, In the docs on the 'put' function I read this: That symbol is sym1 (if no other arguments are given), or a symbol found by applying the get algorithm to sym1|lst and the following arguments. Could somebody give me an example or two where this get algorithm is being applied? Maybe Alex

Boolean property

2010-08-27 Thread Jon Kleiser
Hi, In the doc/ref.html I read this: Each property in a symbol's tail is either a symbol (like the single KEY above, then it represents a boolean value), ... Can such a single KEY represent anything else than the boolean 'T'? If it cannot, I think the docs should say so. If it can, I'd like

Re: put, applying get algorithm

2010-08-27 Thread Jon Kleiser
On 8/26/10 1:20 PM, Alexander Burger wrote: .. I'm not sure about the docs, as such examples - as you can see above - quickly get rather complicated. Cheers, - Alex I think this could be a nice little example: : (setq L '(A B C)) - (A B C) : (setq B 'D) - D : (put L 2 0 'p 5) - 5 : (getl 'D)

Re: Flight Simulator

2010-08-27 Thread Jon Kleiser
On 8/27/10 4:05 PM, 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? Both could be great fun!

Re: put, applying get algorithm

2010-08-29 Thread Jon Kleiser
I never saw the ; shortcut being mentioned, in most cases (for me anyway) it will suffice instead of get. By the way, is the ';' functionally identical to the 'get'? If so, I think the docs should say so clearly. If not so, what's the difference? /Jon -- UNSUBSCRIBE:

Property surprise

2010-08-30 Thread Jon Kleiser
Hi, I got a little surprised when I discovered that property manipulations on a local symbol, e.g. inside a 'let' block, had global effects, like in this example: : (prog (setq S 1) (put 'S 'p 2) (let S 3 (put 'S 'p 4)) (show 'S)) S 1 p 4 - S I understand this is probably the way it's

load recursively

2010-09-07 Thread Jon Kleiser
Hi, In the docs on the 'load' function I read that, When any is T, all remaining command line arguments are loaded recursively. Can somebody explain what this recursive loading is? /Jon -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

Re: load recursively

2010-09-08 Thread Jon Kleiser
Hi Alex, Hi Jon, In the docs on the 'load' function I read that, When any is T, all remaining command line arguments are loaded recursively. Can somebody explain what this recursive loading is? There is nothing special about the word recursive here. It could as well say When any is T, all

Re: load recursively

2010-09-08 Thread Jon Kleiser
Hi Alex, Thanks for the extensive explanation! I'll work a bit on this later to make sure I understand every part of it. ;-) /Jon Hi Jon, I still don't get the difference this T makes. If I want to load two files with one 'load' call, when should I include the T? To load two files, you

Re: picolisp in java

2010-10-05 Thread Jon Kleiser
Hi Tomas, On 10/4/10 7:27 PM, Tomas Hlavaty wrote: .. For example, even simple 'if' is implemented as a picolisp fexpr: (de if (C . L) (loop (T C (up. '@ @) (eval (car L) 1)) (T T (run (cdr L) 1)) ) ) .. I'm just curious, what does that 'up.' do? I can't find it in

pi and e

2010-10-05 Thread Jon Kleiser
Hi, I may have asked this earlier .. If so, maybe it should be in the FAQ .. What's the standard way of obtaining math constants pi and e? Are they predefined somewhere? /Jon -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

Re: First rudimentary version. Was: picolisp in java

2010-10-10 Thread Jon Kleiser
Hi, I tried to run ersatz/picolisp on my Mac, but it didn't turn out too well: $ ersatz/picolisp Exception in thread main java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at

Re: First rudimentary version. Was: picolisp in java

2010-10-10 Thread Jon Kleiser
Hi Alex, Yes, building a new JAR made it. Thanks! /Jon Hi Jon, Exception in thread main java.lang.UnsupportedClassVersionError: Bad version number in .class file It seems that this error occurs if the java runtime version is older than that of the classes in the JAR file. $ java

PicoLisp Wiki: The core language of PicoLisp

2010-10-11 Thread Jon Kleiser
Hi, In the not yet completed Wiki article The core language of PicoLisp http://picolisp.com/5000/-2-1L.html, there's a paragraph Declaring variables where I read (re. 'let') that The values are not bound to the variables until execution of the prg has begun, so this excludes using v1 to set

Re: PicoLisp Wiki: The core language of PicoLisp

2010-10-12 Thread Jon Kleiser
Hi Alex, On 10/12/10 7:35 AM, Alexander Burger wrote: .. This Wiki article really needs to be completed. I'm a bit reluctant to touch it, because if I do, I feel I have to make sure the entire I was hoping that the original author danelliottster would react, but I notice that he already

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

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();

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

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

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

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

2010-11-13 Thread Jon Kleiser
On Fri, 12 Nov 2010 20:04:01 +0100, Alexander Burger a...@software-lab.de 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

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, to

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

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

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: 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: 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 Label

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

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 , Steve Graham wrote

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

Check for repeating circular lists

2011-03-04 Thread Jon Kleiser
Hi Alex, I noticed here http://code.google.com/p/picolisp/updates/list 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? /Jon --

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,

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

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: 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,

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: 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: 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

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

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 continue this on

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. Perhaps the most

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 makes sense. It

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

Terminal control/Coloured text on Mac

2011-09-27 Thread Jon Kleiser
Hi Alex, I saw your recent entry here: http://rosettacode.org/wiki/Terminal_control/Coloured_text#PicoLisp 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 last line

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

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

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: http://folk.uio.no/jkleiser/pico/wiki-css/ Just ignore the menu to the left,

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: Wouldn't it be

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

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: http://picolisp.com/5000/!wiki?SwingRepl 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

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

2012-01-23 Thread Jon Kleiser
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:39:38 +0100, Jon Kleiser jon.klei

javac ImageNoise, file location

2012-01-24 Thread Jon Kleiser
Hi Alex, I just tried your ImageNoise code, found here http://rosettacode.org/wiki/Image_noise#PicoLisp. 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 ersatz

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 Kleiserjon.klei...@usit.uio.no [120124 21:14]: With the ImageNoise script file in some other directory than the picoLisp, where the ersatz and tmp are, then I get

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, before the JVM is started? I would be reluctant to do so, because tmp

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 Kleiserjon.klei...@usit.uio.no 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 first

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

PicoLisp assembler in JavaScript?

2012-03-06 Thread Jon Kleiser
Hi, I noticed Rudy's recent article The Browser 'IS' The Data Base http://picolisp.com/5000/-2-22.html, 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 rip

  1   2   3   >