DEV Community

Ruby Rogues

Bidirectional Code Generation - RUBY 558

Imagine a tool that lets you write templates that can generate code, but also parse that code back into the initial variables.  Depending on how flexible your templates are, it can even parse code that has been modified by hand after generation.  Today on the show, the panel interviews Lucas Luitjes, creator of Monocle, the tool that allows for this kind of integration.

In this episode…

  1. What is bidirectional code generation
  2. Visual rails editor prototype
  3. How does the program work, step by step
  4. Parsing results from snippets
  5. Multi-node placeholders
  6. Utilizing the erb2builder library
  7. Ruby security features
Connect with Lucas via email:  lucas@snootysoftware.com

Sponsors


Links


Picks


Episode source