2 comments

  • Smalltalker-803 hours ago
    I prefer the postcard ;-) <a href="https:&#x2F;&#x2F;richardeng.medium.com&#x2F;syntax-on-a-post-card-cb6d85fabf88" rel="nofollow">https:&#x2F;&#x2F;richardeng.medium.com&#x2F;syntax-on-a-post-card-cb6d85fa...</a>
    • pansa22 hours ago
      Yes, Smalltalk&#x27;s syntax fits on a postcard - and it&#x27;s possible to go even more minimal than that, e.g. Lisp or Forth.<p>OTOH Ruby doesn&#x27;t need a postcard, it needs a full poster.
  • SeriousM3 hours ago
    &gt; This is an experiment in clarifying some aspects of Ruby syntax and semantics. For that we&#x27;re going to introduce an alternative Lisp-based syntax for Ruby, preserving Ruby semantics.<p>Lisp? Then I would use Lisp...<p>&gt; The goal is to define a comprehensive, trivially-parsable and sugar-free syntax.<p>Ruby has syntax sugar, no need to remove the funny parts.
    • petalmind1 hour ago
      &gt; Lisp? Then I would use Lisp...<p>Lisp has completely different runtime semantics. Even the lexical scope in Ruby is extremely peculiar. One of the hard parts of writing this document was to remove the intuitive influence of Lisp because it just doesn&#x27;t make sense for Ruby.
    • petalmind1 hour ago
      &gt; Ruby has syntax sugar, no need to remove the funny parts.<p>This is just an intermediate representation, it&#x27;s not meant to be used directly (even though you can do that, of course).