Skip to content

Instantly share code, notes, and snippets.

@sorear
Created June 19, 2013 22:59
Show Gist options
  • Save sorear/5818880 to your computer and use it in GitHub Desktop.
Save sorear/5818880 to your computer and use it in GitHub Desktop.
preliminary eval-server stuff
Stefans-MacBook-Air:nqp-jvm sorear$ perl tools/jvm/eval-client.pl token run -e 'say("hello, world"'
Confused at line 2, near "say(\"hello"
in panic (src/stage2/gen/NQPHLL.nqp:279)
in comp_unit (src/stage2/gen/NQP.nqp:766)
in TOP (src/stage2/gen/NQP.nqp:663)
in parse (src/stage2/gen/QRegex.nqp:1191)
in parse (src/stage2/gen/NQPHLL.nqp:1370)
in (src/stage2/gen/NQPHLL.nqp:1326)
in compile (src/stage2/gen/NQPHLL.nqp:1317)
in eval (src/stage2/gen/NQPHLL.nqp:1075)
in (src/stage2/gen/NQPHLL.nqp:1181)
in command_eval (src/stage2/gen/NQPHLL.nqp:1178)
in command_line (src/stage2/gen/NQPHLL.nqp:1163)
in MAIN (src/stage2/gen/NQP.nqp:3454)
in (src/stage2/gen/NQP.nqp:3450)
in (src/stage2/gen/NQP.nqp)
Stefans-MacBook-Air:nqp-jvm sorear$ perl tools/jvm/eval-client.pl token run -e 'say("hello, world")'
hello, world
Stefans-MacBook-Air:nqp-jvm sorear$ time perl tools/jvm/eval-client.pl token run -e 'say("hello, world")'
hello, world
real 0m1.118s
user 0m0.049s
sys 0m0.011s
Stefans-MacBook-Air:nqp-jvm sorear$ time ./nqp -e 'say("hello, world")'
hello, world
real 0m2.463s
user 0m4.362s
sys 0m0.111s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment