develooper Front page | perl.perl5.porters | Postings from February 2020

WebPerl patches for core

Thread Next
Hauke D
February 10, 2020 16:13
WebPerl patches for core
Message ID:
Hi everyone,

As some of you may know, a while back I ported Perl to WebAssembly using 
Emscripten (, 
This required me to make a few fairly small patches to the Perl core. 
The way I did this for now is by forking the perl5 repo on GitHub and 
applying my patches there ( I talked 
to Sawyer about this in Riga last year, and it would be great if I could 
start submitting some patches to get them into the core. Before I set up 
the pull requests, I just wanted to check with you on style issues etc., 
please let me know if you have any more suggestions:

1. All changes to the Perl core (which are pretty minor) will be guarded 
using "#ifdef __WEBPERL__", an environment variable "__WEBPERL__", or 
"$^O eq 'emscripten'".

2. I guess I would include "WebPerl" in all commit subject lines (?)

3. For now, I think I'd manage *adding* files specific to WebPerl in a 
separate branch on my own repository - unlike the above patches, that 
should be trivial to rebase/replay. These would be "/README.WebPerl", 
"hints/", "/webperl/", and "/ext/WebPerl/".

Thanks, Best,
-- Hauke D

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About