This repository has been archived by the owner on Mar 16, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Recognize more language constructs: regexp, dstr, yield (fixes #173).
Of course, (regexp ...) (dstr ...) and (yield) are actually pretty common. The virtual machine has ignored these constructs but it has worked in most cases because child nodes provided the value. ```rb puts // # (regexp (regopt)) /foo/i # (regexp (str "foo") (regopt :i)) puts <<EOS # (dstr) EOS puts "foo#{bar}" # (dstr (str "foo") (begin (send nil :bar))) ```
- Loading branch information