Re: PicoLisp assembler in JavaScript?

2012-03-07 Thread Jakob Eriksson


On March 7, 2012 at 8:30 AM Alexander Burger a...@software-lab.de wrote:

 Hi Jon,

  How many percent (very roughly) of the PicoLisp functions are depending on
  this 'native' function? If it's less than say 10%, one could probably find
  an alternative solution for these natives, or just ignore them. I'm only
  guessing.

 The interpreter itself doesn't depend on 'native' at all. The base
 system runs fine without it.

 Only add-ons like floating point math, or the OpenGL library, do need
 it.


I think PicoLisp is plenty fun and useful also without these addons.
Floating point could be reimplemented in other ways if really needed.

best regards,
Jakob
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


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 off all (or most of) the assembly code that 
64-bits PL is written in? It seems like it could be a fun thing to do, 
at least for those who have some time available ... ;-)


/Jon
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: PicoLisp assembler in JavaScript?

2012-03-06 Thread Jakob Eriksson



On March 6, 2012 at 4:10 PM Jon Kleiser jon.klei...@usit.uio.no wrote:

 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 thing to do,
 at least for those who have some time available ... ;-)

I think it's a wonderful idea.
Off topic: http://picolisp.com/5000/-2-22.html
http://picolisp.com/5000/-2-22.html

 * how do I edit pages on that wiki?
 * I never understand under which topic an article belongs, which brings me to
the URL,
   it would be nice if the URL reflected the topic of the Wiki page.

best regards,
Jakob
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: PicoLisp assembler in JavaScript?

2012-03-06 Thread Alexander Burger
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 thing
 to do, at least for those who have some time available ... ;-)

Yes, it would indeed be fun. But I think very difficult.

To have it run in the JavaScript environment, it would be necessary to
bring the assembler to output JavaScript code, or to write an emulator
of the PicoLisp machine (see http://software-lab.de/doc64/asm) in
JavaScript.

I spent a lot of time contemplating to write such an emulator in C, and
finally gave up because there is no way to implement the 'native'
function in C, which is the most interesting feature of pil64. In
JavaScript it is probably even more difficult than in C.

Cheers,
- Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: PicoLisp assembler in JavaScript?

2012-03-06 Thread Alexander Burger
Hi Jakob,

 Off topic: http://picolisp.com/5000/-2-22.html
 http://picolisp.com/5000/-2-22.html
 
  * how do I edit pages on that wiki?

You register, and then experiment with the help page.


  * I never understand under which topic an article belongs, which brings me to
 the URL,
it would be nice if the URL reflected the topic of the Wiki page.

Most URLs have names like http://picolisp.com/5000/!wiki?gsoc; or
http://picolisp.com/5000/!wiki?ideasPage;.

The problem with the above page is that it is a Reply which Rudy made
to the GSoC page. Such replies have no title.

BTW, Thorsten is now in the process of inserting Rudy's reply into the
Ideas-Page, and then we'll probably can delete that reply.

Cheers,
- Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe