I'm meditating about using a subset of Perl to define a dialect which can be equally run within the Perlinterpreter and (after translation) on Javascript-Engines.
There are many potential benefits, but at least I could deepen my knowledge about the details of inter-language differences. (I'm NOT intending to emulate one full language within the other one!!!)
What I actually need is good approach for a test-suite.
I'm thinking about running little code snippets, and comparing the (stringified or JSON) output from Spidermonkey, (and later Rhino, V8, JScript, Actionscript,...) and of course Perl5.
Where can I find such tests defining the semantics of Perl5? Preferably tagged by features (Hash,Array,Scoping,Referencing,...) and somehow ordered by dependencies (i.e. "no need to test THIS if THAT fails")
I heard about Perl6 test-suites ... but are there any for Perl5?
Cheers Rolf
In reply to JSPerl: Testsuite for Perl5? by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |