RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

A no-go fantasy: writing Go in Ruby with Ruby Next

On the Martian blog, Svyatoslav Kryukov enters into a fantasy realm, and is forced to imagine that ✨everything must be written in Go!✨

Read and learn to write Go in Ruby, gaining the ability to modify Ruby exactly as you desire.

In this article, he covers:

  • Replicating Go’s functionality in Ruby.
  • Modifying a lexer and parser – then creating your own!
  • Adding a rewriter with the help of Ruby Next.
  • Plus, other cool techniques to bring everything to life!

👉 Read the tale: https://evilmartians.com/chronicles/a-no-go-fantasy-writing-go-in-ruby-with-ruby-next

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in