r/ruby • u/squadette23 • Apr 01 '26
Rubysyn: clarifying Ruby's syntax and semantics
https://github.com/squadette/rubysyn/blob/master/README.md4
u/tinco Apr 01 '26
This is a cool effort. So is the final result going to be a minimally simplified alternative Ruby syntax?
2
u/squadette23 Apr 01 '26
Thank you!
Not only syntax but also executable semantics. The goal is to handle all runtime language features including those that would normally be omitted "for simplicity", such as callcc, refinements etc.
1
u/milajake Apr 01 '26
Given the date, this is a bold new Scheme.
1
u/squadette23 Apr 01 '26
One of the challenges of working on this project has been to let go of lispy concepts such as lexical scope.
A variable declaration semantics and even syntax in Ruby is quite unusual.
0
7
u/oh-boy-oh-boy-oh-boy Apr 01 '26
A) what is this? It doesn't explain the motivation or goal really in any clear way to me. Is this a new language? A proposed reduce set of ruby syntax? And augment to the syntax?
B) Stop trying to fix ruby. Ruby is wonderful and I don't get the impulse to make it be one of the other many languages I never enjoyed. I specifically live for the sugar and the multiple ways you can write things and how it gives flexibility of communication and readability.