natalie-lang / natalie

a work-in-progress Ruby compiler, written in Ruby and C++
https://natalie-lang.org
MIT License
931 stars 61 forks source link

Implement Kernel#` #2203

Closed herwinw closed 1 month ago

herwinw commented 1 month ago

The old version used a custom instruction instead of a method call.

It would be cleaner to move the shell_backticks function inline in KernelModule::backtick, but that is going to clash with a few cleanups I've done in #2200. I might try that one as a future work.