That the kind of thing that run away to north pole, killing many in its journey.Speaking of potential perfect languages, I recently came upon Forsp, a hybrid between Forth and Lisp. If that's not perfection, what else could be?
That the kind of thing that run away to north pole, killing many in its journey.Speaking of potential perfect languages, I recently came upon Forsp, a hybrid between Forth and Lisp. If that's not perfection, what else could be?
That the kind of thing that run away to north pole, killing many in its journey.
Running Forth from cassette tape on my C64 definitely made me think the language was/is interpreted.Many years ago my professor in the "Intro to Compilers" course was one of the authors of the GNU Forth compiler.
Running Forth from cassette tape on my C64 definitely made me think the language was/is interpreted.
I grew up with BBC BASIC, which had IF, THEN and ELSE; as well as named functions and 'procedures'. It entirely avoided the use of GOSUB and GOTO <line number>. It also had REPEAT .. UNTIL. Later version had WHILE.So when the IF on line 1860 evaluates to true, everything from THEN to end of line is executed. So you need that GOTO to skip over line 1870 that handles the ELSE situation.
It reads like it.Was that AI generated?
Someone else (likely the same actual person/entity) has done the same in other places here. I reported those. looks like the ban hammer of moderation has taken effectI get the feeling the link on "imperative programming" is actually subtle SEO spam. Reporting, letting mods decide.
LISP is like a secret club—once you learn the handshake, everything makes sense. Until then, it’s just parentheses-induced suffering!One of the things I like about Lisp and SmallTalk especially, though, also, things like Ruby and Python, if to a lesser degree, is how the relatively simple and flexible syntax means that you can tackle this kind of problem fairly directly. If your program is best described in imperative syntax, it's fairly simple to write something with a threading macro that looks just like imperative code. Similarly for any other bit of syntax that would make your program easier for Joe Average to understand, the nature of the language lets you create that syntax. As such, the vast majority of a program written in LISP is typically much easier to understand than one written in an imperative language.
Of course, this does create a problem when Joe Average programmer is starting a new program from scratch and doesn't really know how to manipulate the syntax of the language to achieve what he wants. In that situation, programming in LISP is indeed less understandable than an imperative language. There is a bit of a learning curve for the process of bootstrapping the language to meet your problem.
While Swift and Rust are indeed strong contenders, each with its unique advantages, it's essential to consider the specific needs of your project when choosing the right language. Interestingly, a similar balance between flexibility and structure is also discussed in AI-driven technologies, such as [SPAM--Removed by moderator] where adaptability and automation are key factors.
While good indentation is critical to making your Lisp readable, I don't think that syntactic white space would help much with Lisp. After all, you need some way to differentiate function / macro calls from symbol reference, and that is what the parentheses do, the first item after one typically* being a call and anything else being a reference.That's why the Python innovation of indenting to create blocks is so great. Could that work for Lisp?
'
I think that was ISWIM’s innovation.That's why the Python innovation of indenting to create blocks is so great. Could that work for Lisp?
Given ambiguity, I suspect not terribly well, at least, when not referring to something like a named algorithm. After all, it doesn't take much phone tech support to convince yourself that natural language isn't terribly good at such specificity and detail.I wonder how well GAI can process natural language into machine code now.
See also trying to do anything in AppleScript.After all, it doesn't take much phone tech support to convince yourself that natural language isn't terribly good at such specificity and detail.
Yuck.See also trying to do anything in AppleScript.
I mean, true, but, at least it doesn't change it's behavior randomly each time you run it through the compiler.See also trying to do anything in AppleScript.