-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"perl perlito5.pl -Cjs" gives an unhelpful error on building a Games-Solitaire-Verify executable #20
Comments
Perlito doesn't support XS (not yet) - perl is made of many mini-languages, I'll investigate the syntax error message, thanks for reporting. (sorry for the delay, the github message was filtered out.) 2014-03-14 10:19 GMT+01:00 Shlomi Fish [email protected]:
|
@fglock : any news? |
I'm currently studying how to implement the "vm" side of Perlito. I've 2014-10-10 8:08 GMT+02:00 Shlomi Fish [email protected]:
|
@fglock: hi, that's nice and all , but I meant if there's any progress being made with solving this bug and the other showstopped bug I reported. If we are to believe the Joel Test then at any given moment, the priority should be given to fix bugs: http://www.joelonsoftware.com/articles/fog0000000043.html Regards, -- @shlomif |
I've found that the Exporter.pm module in Perlito5 is not working properly. Compiling the Solitaire modules one by one, I've got this message from Getopt::Long - Global symbol "$REQUIRE_ORDER" requires explicit package name at perlito5.pl line 9254. This is because Perlito's Export can't export scalars yet. In my opinion exporting global variables would be bad practice, but I'll try to fix this anyway. |
@fglock : OK, thanks for returning to me, and your help. |
update: I'm currently looking at how to implement this in js: ${$linkage{$opt}} # Getopt::Long line 538 it would work for globals, but js can't (easily) lookup lexicals by name |
debugging a bit more - there is no problem with line 538. local ($^W) = 0; # line 294 this is not implemented yet. |
@fglock: thanks for the headsup. Please let me know if I can help in any way. |
can't js lookup lexicals by name using eval? 2014-10-16 22:57 GMT+02:00 Shlomi Fish [email protected]:
|
The script "expand-solitaire-multi-card-moves" compiles now, it produces Still, it fails at runtime because of an "/x" regex, which perlito doesn't Note: tested with: 2014-10-17 8:00 GMT+02:00 Shlomi Fish [email protected]:
|
@fglock: thanks! I got your message and will try it later. This is just an ack. |
See: fglock/Perlito#20 . This is a temporary workaround to get us up-and-running - still fails for different reasons.
I've tried again with the latest build, and this still doesn't run in
|
After I run this script in the Perlito directory in the master branch, I'm getting this output.
Script:
Output:
I don't understand the error and it does not point to correct it. This executable is built fine with perl5 (5.18.2 in my case, but also many older versions). What is the problem and how to fix it? I should note that I'm using Class::XSAccessor which is an XS module.
Regards,
-- Shlomi Fish
The text was updated successfully, but these errors were encountered: