Re:Red: A programming language inspired by REBOL
by ducktective on Friday July 16, 2021 @02:52PM
(#27859807)
Can you please elaborate? ;)
As a person who has 0 knowledge on the likes of PROLOG, LISP, etc...What makes LISP and LISP-like languages so great? I tried to search YouTube on the merits of LISP or this notion of "data as code" but nothing tangible came up...
I mean LISP is one of the oldest languages with really weird features w.r.t to C-like languages but in practice we only see C-likes...even Rust is not so different from this family of languages...
[ Parent
| on HN ]
Re:Red: A programming language inspired by REBOL
by chriswarbo on Friday July 16, 2021 @04:06PM
(#27860643)
> I mean LISP is one of the oldest languages with really weird features w.r.t to C-like languages but in practice we only see C-likes
Scripting languages are much closer to Lisp than to C (e.g. compare Python to Racket).
IIRC Ruby, Javascript and Smalltalk (the latter inspiring a lot of OOP languages) were all explicitly designed to be like Lisp.
Re:Red: A programming language inspired by REBOL
by freemint on Saturday July 17, 2021 @02:12PM
(#27867609)
I gave a lightning talk in (German) about meta programming and equivalence of code and data in PicoLisp by example. 16:16 https://media.ccc.de/v/froscon2018-2322-lightning_talks#t=97...
It should give you place to get started. The cliff node what I did is the I wrote a function that replaces things in a list of lists/a tree and used that rewrite the definition of the function to make it more readable. While it is an toy example I hope it helps.