Are there any languages that have both pattern matching and statement oriented syntax?
In principle these are orthogonal, but I'm struggling to think of a language with pattern matching that isn't expression oriented.
My toy programming language has a pluggable frontend, so you can change syntax easily.
The first syntax I built was lispy. I've gradually been adding statement oriented C-ish syntax.
I think it would awkward to write a statement oriented lispy syntax. Do any such PLs exist?
There seems to be a trend towards value-oriented programming languages. Even established statement-oriented languages are moving: Hack added ==> for values with anonymous functions, JS has fat arrows and now do syntax too.
@cwebber@octodon.social Interesting choice. So this will be the primary language, not some IR?
I don't think I've seen any lisps pivot to non-paren syntax though. I can only think of Wisp and sweet-expressions (libraries with limited adoption AFAICT) and Dylan (a separate language made by lispers). What pivots did you have in mind?