How can you call JavaScript builtins from Perl 6 with the new JS backend?

  • A+
Category:Languages

I know it is possible to invoke Java when Perl 6 is using that backend: How do I invoke a Java method from perl6

Is there a way yet to access e.g. the JavaScript DOM interface from Perl 6 with the new Rakudo JavaScript VM running in the browser?

Perhaps something like this:

use v6; use javascript::dom:from<JavaScript>; 

 


Unfortunately there isn't a good one yet. It's high priority so I plan to do it soon (~this week).

Comment

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: