We take for granted that ruby my_app.rb will execute our code. But how does it work? What’s happening under the hood? Let’s walk through the internals and find out. Lexer The first port of call is the lexer. The lexer reads your code and breaks it up into ‘tokens’ (for this reason, you may hear […]
Continue reading %Lexers, Parsers, and ASTs, OH MY!: How Ruby Executes%
by David Bush via SitePoint
No comments:
Post a Comment