3 ms·
> it would be cool if we could generate them from more readable syntax There are a few options out there; maybe take a look at Sweet Expressions? Some Lisp imp
by chriswarbo 6y ago
> it would be cool if we could generate them from more readable syntax
There are a few options out there; maybe take a look at Sweet Expressions? Some Lisp implementations have native support for different syntax, but the nice thing about these formats (which are essentially just serialisations of concrete syntax trees) is that we can convert them into the expected format automatically, e.g. using a pre-processor.
I have a go-to page on my blog for discussions involving s-expressions, including links to various alternative syntaxen: http://chriswarbo.net/blog/2017-08-29-s_expressions.html http://chriswarbo.net/blog/2017-08-29-s_expressions.html
- hobby-coder-guy 6y agoSyntaxen?