0.3 Mar 25 2010
0.2 Mar 13 2010
updated by Craig MacKenna:
improved JavaScript to perl translation:
* enclosed single statements after if()/for()/while()/else/do
in {} as required by perl but not JavaScript or C
** translated JavaScript 'else if' to perl 'elsif'
** translated JavaScript relational operators '==', '<', etc.
to perl 'eq', 'lt', etc.
** improved variable recognition/translation
* 'new' takes path to file as well as URL as its operand
* included fatal error message if the JS->perl translation is bad
(easier for user to see problem)
* fixed regexp character escapes in shExpMatch function
* added two lightweight tests
0.1 May 2001