3 ms·
In a simple DSL I am working based on s-expressions I enable things like removing parenthesis in single line expressions. For example, (define a "hello world!")
by wslh 3y ago
In a simple DSL I am working based on s-expressions I enable things like removing parenthesis in single line expressions. For example, (define a "hello world!") is just define a "hello world!" <EOL>
Another example that could work more than RPN/FORTH (or close to the ; operator in smalltalk) is:
(* 4 (+ 1 2 3))
equals to:
+ 1 2 3 . <EOL>
* 4 <EOL>
The DSL is not LISP based but s-expr to define a DAG like in an spredsheet.