Re:XL: An Extensible Programming Language
by c3d on Wednesday February 21, 2024 @11:28AM
(#39455870)
Check out Pure. https://agraef.github.io/pure-lang/
This was what convinced me to switch to LLVM. I now regret that decision, but at the time, it sounded like a lot of fun.
Re:XL: An Extensible Programming Language
by runlaszlorun on Thursday February 22, 2024 @12:03AM
(#39463443)
Thx, I’ll check it out.
Re:XL: An Extensible Programming Language
by jinwoo68 on Wednesday February 21, 2024 @11:36AM
(#39455971)
Prolog is based on "unification" in large part, which can be considered advanced pattern matching.
Re:XL: An Extensible Programming Language
by shrubble on Wednesday February 21, 2024 @01:50PM
(#39457832)
Are you using pattern matching in the sense of Standard ML and the ML family of languages?
Re:XL: An Extensible Programming Language
by runlaszlorun on Thursday February 22, 2024 @12:02AM
(#39463438)
Probably but I don’t know any ML… lol. I’ll def check it out though so thx!
I’ve come across Refal[1], who’s creator Valentin Turchin seems like someone who hasn’t gotten the recognition he maybe deserves. As an aside, his son Peter Turchin does some interesting work in a different direction that’s def topical these days.
I know SNOBOL gets labeled as one.
Would Prolog count? I haven’t actually written any myself. They def make a strong appearance in Erlang, though it isn’t the first thing that comes to mind if describing. There’s XSLT of course.
Any others?
I think if one were only able to pick one metaphor for a language, I think a strong case could be made for:
pattern => behavior
[1]https://en.wikipedia.org/wiki/Refal