in reply to Run Perl 5 in the Browser!
I personally have a (too) long running project to exploit the semantic similarities for this goal and already put a lot of theoretical work into it.
JS is for 98% a simplified Perl, and patching B::Deparse to emit native JS should be possible.
But I was confronted with some problems:
Your approach could at least solve the eval bottleneck, my approach could probably lead to faster code and less footprint.
If you're interested I'd love to contribute, even meeting in Berlin for discussion.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
°) not sure how you solve this, does asm.js also cover the regex engine? My idea was to use re qw/debug/ to emit an "regex-optree" and translate this.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Run Perl 5 in the Browser!
by haukex (Archbishop) on Aug 19, 2018 at 11:06 UTC | |
by LanX (Saint) on Aug 19, 2018 at 11:42 UTC | |
by haukex (Archbishop) on Aug 22, 2018 at 21:13 UTC | |
by LanX (Saint) on Aug 22, 2018 at 21:28 UTC | |
by chromatic (Archbishop) on Aug 22, 2018 at 23:16 UTC | |
| |
by haukex (Archbishop) on Aug 22, 2018 at 21:47 UTC | |
| |
by haukex (Archbishop) on Aug 24, 2018 at 13:24 UTC | |
Re^2: Run Perl 5 in the Browser!
by Anonymous Monk on Aug 20, 2018 at 11:12 UTC |