TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: d2010 on June 28, 2021, 01:10:28 AM

Title: RE: Why is Lisp called the most powerful language?
Post by: d2010 on June 28, 2021, 01:10:28 AM
Can you extend the answer with Visual-Lisp, here on the swamp-forum+lisp?
Code: [Select]
Common Lisp, Scheme and Racket allow you to define your own syntax,
 meaning that whatever is the most powerful combination of features and   
 paradigms, and the most practical means of expressing them, Lisp can
 support it with a library.

Clojure doesn’t allow it, but there’s nothing stopping you from defining
   an enhanced syntax that you can transpile!? to pure Clojure.
   In the example above I’ve changed the syntax to resemble C++
    — something you don’t have to do in Common Lisp, but can.
Can you add "AutoLisp" into "Common Lisp, Scheme and Racket"?
https://www.quora.com/Why-is-Lisp-called-the-most-powerful-language (https://www.quora.com/Why-is-Lisp-called-the-most-powerful-language)
Title: Re: RE: Why is Lisp called the most powerful language?
Post by: Lonnie on June 28, 2021, 04:40:13 PM
From the one that decided lisp for is what autocad would use.


https://www.fourmilab.ch/autofile/www/chapter2_35.html
Title: Re: RE: Why is Lisp called the most powerful language?
Post by: MickD on June 28, 2021, 04:57:46 PM

Can you add "AutoLisp" into "Common Lisp, Scheme and Racket"?


No, not really. AutoLisp is a 'hobbled' lisp in that you can't create your own syntax. You are limited to function definitions and variables and what's available in the AutoCAD API and while you can get a lot done, not having macros limits what you could achieve considerably. Then there's the lack of project structuring and other nice things available from a full language implementation.