← Graph

Use existing parser generators and VMs instead of rolling your own

takeaway 3 connections

Halasz's pragmatic advice: you will almost never build a language toolchain by hand. Tools exist to generate lexers and parsers from a grammar, and mature virtual machines (YARV, the Java VM via JRuby, GraalVM via TruffleRuby, LLVM, Parrot, .NET) are ready to host Ruby-compatible languages.

type
recommendation
takeaway Use existing parser generators and VMs instead of rolling your own
about
Takeaway recommends using generators instead of hand-writing parsers.
takeaway Use existing parser generators and VMs instead of rolling your own
about
Virtual Machine concept
Takeaway recommends reusing existing VMs (YARV, JRuby, TruffleRuby, Parrot, LLVM, .NET).
takeaway Use existing parser generators and VMs instead of rolling your own
from_talk
Halasz's 'really bad news': you will never do this manually — tools exist.

Provenance

Read by
2 extractions