Rubysyn: clarifying Ruby's syntax and semantics
Summary
Rubysyn is a work-in-progress proposal for a Lisp-like, sugar-free syntax for Ruby, aiming to clarify Ruby's syntax and semantics and to enable comprehensive desugaring rules for array literals, assignment, control flow, and blocks. The document outlines many Lisp-inspired forms (e.g., (array), (array-splat), (var), (assign), (lambda), (call), (send), (return)) and discusses semantic primitives, tailcalls, and labels, along with examples and noted gaps. While still experimental, it provides a blueprint for DSL design, teaching Ruby semantics, and exploring alternative syntaxes relevant to automation tooling and Ruby-based workflows.