News for hackers. Stuff that matters.
Re:The Egison Programming Language by sidkshatriya on Saturday April 29, 2023 @03:35PM (#35756322)
I really like this language. Very intuitive and simple syntax (once you understand the fundamentals). And very powerful too! The pattern matching examples get addictive after you've read a few.

Egison can be used to build a symbolic math backend and do all kinds of pattern matching. But its really niche requirement and it's never really occurred to me in all this time "hey, this might be a good time to use Egison"

I wonder when it might be a good idea to use Egison and if there are some current users in production.

Re:The Egison Programming Language by ink_13 on Saturday April 29, 2023 @06:01PM (#35757685)
Maybe I'm just a dummy who should stick to scripting, but I had exactly the opposite reaction: based on everything I've seen, this is wholly uninteresting. I can't imagine a single practical application that isn't more comprehensibly written in an existing language. But I feel the same way about Haskell, too.

The older I get the more I value code that is easy to understand and debug by either myself or someone else months or years down the line when the original context might be forgotten. Ultra-dense syntax like this only makes that almost superhumanly difficult.

Re:The Egison Programming Language by kragen on Sunday April 30, 2023 @01:33AM (#35759913)
try implementing symbolic differentiation in a language like haskell or egison, and then again in a language like python or js, and your perspective on what is 'easy to understand and debug' is very likely to change
Re:The Egison Programming Language by znafelrif on Sunday April 30, 2023 @03:21AM (#35760345)
Do you have an example of such an implementation in haskell?
Re:The Egison Programming Language by kragen on Sunday April 30, 2023 @05:26PM (#35766774)
googling i found https://gist.github.com/amalex5/541dc739201bbd8e26037b6738cd... although it's missing the type declaration

http://5outh.blogspot.com/2013/05/symbolic-calculus-in-haske... is more complete and also includes an explanation and a bunch of simplifications you'd also want along with it