xpl.par generates a parser that's hardwired for Rhino. I had to replace read_string() with read_line() and read_file() with file_read() for it to work with v8sh.
This is correct, but only for the input/output functions. Replace the code within the xpl.par source file for any other JavaScript engine and it will run.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is correct, but only for the input/output functions. Replace the code within the xpl.par source file for any other JavaScript engine and it will run.