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

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.

/Jon

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

Reply via email to