21
ArkScript, A small, lisp-inspired, functional scripting language
(arkscript-lang.dev)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities [email protected]
Every time i see lisp i realize why it never caught on. A syntax only its creator could love.
)))))))))))
Crash bandicoot was written in lisp
Honestly once you understand that parentheses actually help you organize your code better, lisp syntax is nice to use. So what lisp version is arklisp? 1 or 2 1 is scheme like and 2 is Common Lisp like.
Except that in practice people also indent their code, making the parentheses redundant clutter, especially since the usual convention is to put all of the closing parentheses at the end where it hard to immediately match each one up visually with its corresponding opening parenthesis.
My preference is for the way Haskell handles this, where essentially there is a syntax built on braces and semicolons that you can always fall back on, but most of the time you can just use indentation and it will figure things out just fine via built-in layout rules.
Finally, it seems immediately apparent that this is a type-1 lisp given that there is only one syntax for assigning to symbols and it is used both for functions and for other values.