For example, this is written in Emacs Lisp.
https://0bin.net/paste/rl-fwzGv#GcPdMyG8gJG21iQiMOlptn-Th8G2ieKPgdRhUDG/0KC
Lisp syntax is pretty easy: everything inside brackets is called a list, the first element of a list is the function name, everything else is the arguments, separated by spaces. A list can be an element of a list, that's why most Lisp programmers use rainbow delimiters, where every bracket pair is colored differently for readability purposes. Everything in Lisp is done this way, even + - / * are written like (+ num1 num2 num3). Comments are semicolons (the ";" symbol). Now, there are some exceptions to this rule:
Macros. For example,
(use-package modus-operandi-theme
:straight t
:init
(load-theme 'modus-operandi t))
use-package is a macro, and :straight and :init are not evaluated. They are called keywords. They exist in all Lisps
Quoted elements ('element).
Sharp quoted elements (#'element).
Element with a backtick (`element).
Element with a comma (,element). Not sure what this does.
Here's how it all looks like in one place.
For example, this is written in Emacs Lisp. https://0bin.net/paste/rl-fwzGv#GcPdMyG8gJG21iQiMOlptn-Th8G2ieKPgdRhUDG/0KC Lisp syntax is pretty easy: everything inside brackets is called a list, the first element of a list is the function name, everything else is the arguments, separated by spaces. A list can be an element of a list, that's why most Lisp programmers use rainbow delimiters, where every bracket pair is colored differently for readability purposes. Everything in Lisp is done this way, even + - / * are written like (+ num1 num2 num3). Comments are semicolons (the ";" symbol). Now, there are some exceptions to this rule:
Macros. For example,
use-package is a macro, and :straight and :init are not evaluated. They are called keywords. They exist in all Lisps
Quoted elements ('element).
Sharp quoted elements (#'element).
Element with a backtick (`element).
Element with a comma (,element). Not sure what this does. Here's how it all looks like in one place.