These are chat archives for opal/opal
so when i do this in node:
p = Opal.Opal.$const_get('Compiler').$new('/((::)?([A-Z]\w*)(::[A-Z]\w*)*)$/ =~ e.message') p.$compile()
i get this:
names: undefined method `names' for /((::)?([A-Z]w*)(::[A-Z]w*)*)$/:Regexp
Looks like Regexp.names not implemented for nodejs?
Or is there something i must require for this to work in node?
Or what can i do?
Regexp#namesto handle a
=~node in the AST
Regexp#namesis not implemented in Opal
@iliabylich thanks, and here is Regexp.names opal/opal#1822
i intend to always compile my code in opal nodejs, what other functionality is missing or how can i find out?
opal-parserbecause it's too slow and may have bugs that we are not aware of.
runtime.js), that's what used under the hood. Not sure how else I could help you, I'm not familiar with the webpack ecosystem