Hacker News new | past | comments | ask | show | jobs | submit login

I believe it is actually much harder to implement than many other languages because the syntax is so complex. You have so many edge cases to account for that it is rather difficult to consider all scenarios.



Parsing is hard, but that’s only a small part of writing an interpreter.


For now Artichoke leans on mruby’s parser, but I’m looking forward to using https://github.com/lib-ruby-parser/lib-ruby-parser which is a Rust port of MRI’s parse.y.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: