Re: 64bit miniPicoLisp

2020-04-10 Thread C K Kashyap
Got it. Thanks Alex. Regards, Kashyap On Thu, Apr 9, 2020 at 10:14 PM Alexander Burger wrote: > On Thu, Apr 09, 2020 at 09:46:05PM -0700, C K Kashyap wrote: > > gcc. Things work fine when I use gcc 7.5 or above on Linux. However, > when I > > use gcc 6.3, I find that some of the symbols are not

Re: miniPicoLisp/picoLisp difference

2020-04-10 Thread C K Kashyap
I just noticed that all the picolisp emails were going into my spam folder!!! Thanks Alex -- phew - I thought I had messed up something! On Thu, Apr 9, 2020 at 10:02 PM Alexander Burger wrote: > Hi Kashyap, > > > (let (A 1 (B . C) (2 3)) B) -> 2 > > > > where as in miniPicoLisp (compiled using

Re: Towards a more readable Pico(Lisp) ... nobody needs parenthesis!

2020-04-10 Thread Jean-Christophe Helary
>> Parenthesis sometimes unneccessarily seem to keep people away from Lisp as >> "all day programming language". Javascript: const superSize = n => +n.toString().split('').sort((a, b) => b - a).join('') Emacslisp: (defun superSize (n) (string-to-number (seq-sort #'> (number-to-string n

Lisp, a language for "Stratified Design" Podcast and paper.pdf

2020-04-10 Thread Guido Stepken
A highly inspiring, philosophical Podcast about Abstractions in Lisp, that - until today - you simply can't do in other programming languages: https://podcasts.google.com/?q=Lisp+stratified

回复:Towards a more readable Pico(Lisp) ... nobody needs parenthesis!

2020-04-10 Thread Enwei Zhang
Wonderful!ZEW 原始邮件 发件人: Guido Stepken 日期: 2020年4月10日周五 半夜11:03收件人: picolisp@software-lab.de主题: Towards a more readable Pico(Lisp) ... nobody needs parenthesis!Hi all!Parenthesis sometimes unneccessarily seem to keep people away from Lisp as "all day programming language". It's

Towards a more readable Pico(Lisp) ... nobody needs parenthesis!

2020-04-10 Thread Guido Stepken
Hi all! Parenthesis sometimes unneccessarily seem to keep people away from Lisp as "all day programming language". It's confusing their brain. How about this "innovative" new Lisp syntax? https://github.com/birchb1024/genyris/blob/master/examples/queens.g It's the more readable version,

Re: Porting Picolisp onto the simplest possible processor - The new SISC!

2020-04-10 Thread andreas
Hi Guido! Thanks for the additional information, very exciting! On 10.04.20 16:17, Guido Stepken wrote: > Hi Andreas! > > My implementation not really is a pure Lambda calculus, but rather a > so called "Krivine Machine" that, in fact, consists of 4 instructions, > als 'subset' of the more

Porting Picolisp onto the simplest possible processor - The new SISC!

2020-04-10 Thread Guido Stepken
Hi Andreas! My implementation not really is a pure Lambda calculus, but rather a so called "Krivine Machine" that, in fact, consists of 4 instructions, als 'subset' of the more universal MOV instruction. https://en.wikipedia.org/wiki/Krivine_machine Also see the famous "Landin Machine" with 10

Re: Porting Picolisp onto the simplest possible processor - The new SISC!

2020-04-10 Thread Guido Stepken
Hi Alex! Yes, indeed! Code typically gets quite large quickly when compiling the miniPicoLisp into "SISC Code". But luckily your miniPicoLisp was tiny enough. But adding a few more Lisp - Instructions to SISC will significantly reduce the code length. Y-combinator, the "pure Lisper's while loop"

Re: Porting Picolisp onto the simplest possible processor - The new SISC!

2020-04-10 Thread Alexander Burger
Hi Guido, > I've succeeded now to design my own CPU. I was curious, how many > instructions - e.g. from Intel Instruction Set Architecture- i could > ... > Only 1 - in words "ONE" - single instruction left: MOV. Yeah, this single instruction set fascinated me too, since the early 90s when we

Re: Porting Picolisp onto the simplest possible processor - The new SISC!

2020-04-10 Thread andreas
> > Only 1 - in words "ONE" - single instruction left: MOV. congratulations, you discovered lambda expressions, the fundamental idea on which the concept of LISP is based. Thanks for your post, very interesting! Keep on! Our group of radical IT purists is growing ;-) This crisis will only

Porting Picolisp onto the simplest possible processor - The new SISC!

2020-04-10 Thread Guido Stepken
Hi all! miniPicoLisp is a masterpiece of simplicity: https://github.com/8l/miniPicoLisp/tree/master/src Now i wanted to know, what the simplest processor could be, that would be able to run miniPicoLisp. Inspired by the famous book "From NAND to miniPicoLisp": https://www.nand2tetris.org/