Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Add Mersenne Twister implementation. #33

Merged
merged 1 commit into from Nov 24, 2011

Conversation

Projects
None yet
3 participants
Contributor

nolanlum commented Nov 24, 2011

No description provided.

Collaborator

leto commented Nov 24, 2011

Closed GCI task: http://www.google-melange.com/gci/task/view/google/gci2011/7172206 , will merge this soon unless @Whiteknight beats me to it

Collaborator

leto commented Nov 24, 2011

Does this require a Parrot from within the last few days? I got a compile error about "emit" trying to compile Rosella on my current Parrot. Trying on the latest Parrot now.

Collaborator

leto commented Nov 24, 2011

winxed  -o rosella/query.pir -c rosella/query.winxed
Method 'emit' not found for invocant of class 'Winxed;Compiler;FunctionId'
current instr.: 'parrot;Winxed;Compiler;IdentifierExpr;emit_assign_get' pc 19984 (ext/winxed/compiler.pir:8631) (winxedst1.winxed:3696)
called from Sub 'parrot;Winxed;Compiler;OpAssignExpr;emit_void' pc 23680 (ext/winxed/compiler.pir:10201) (winxedst1.winxed:4346)
called from Sub 'parrot;Winxed;Compiler;ExprStatement;emit' pc 16005 (ext/winxed/compiler.pir:6700) (winxedst1.winxed:2966)
called from Sub 'parrot;Winxed;Compiler;CompoundStatement;emit' pc 54675 (ext/winxed/compiler.pir:22546) (winxedst1.winxed:9263)
called from Sub 'parrot;Winxed;Compiler;IfStatement;emit' pc 45881 (ext/winxed/compiler.pir:19200) (winxedst1.winxed:7887)
called from Sub 'parrot;Winxed;Compiler;CompoundStatement;emit' pc 54675 (ext/winxed/compiler.pir:22546) (winxedst1.winxed:9263)
called from Sub 'parrot;Winxed;Compiler;FunctionBase;emit' pc 57512 (ext/winxed/compiler.pir:23804) (winxedst1.winxed:9796)
called from Sub 'parrot;Winxed;Compiler;emit_array' pc 11563 (ext/winxed/compiler.pir:4778) (winxedst1.winxed:2161)
called from Sub 'parrot;Winxed;Compiler;ClassStatement;emit' pc 60925 (ext/winxed/compiler.pir:25241) (winxedst1.winxed:10380)
called from Sub 'parrot;Winxed;Compiler;NamespaceBase;emit_base' pc 65195 (ext/winxed/compiler.pir:26978) (winxedst1.winxed:11066)
called from Sub 'parrot;Winxed;Compiler;NamespaceStatement;emit' pc 65633 (ext/winxed/compiler.pir:27192) (winxedst1.winxed:11160)
called from Sub 'parrot;Winxed;Compiler;NamespaceBase;emit_base' pc 65195 (ext/winxed/compiler.pir:26978) (winxedst1.winxed:11066)
called from Sub 'parrot;Winxed;Compiler;NamespaceStatement;emit' pc 65633 (ext/winxed/compiler.pir:27192) (winxedst1.winxed:11160)
called from Sub 'parrot;Winxed;Compiler;NamespaceBase;emit_base' pc 65195 (ext/winxed/compiler.pir:26978) (winxedst1.winxed:11066)
called from Sub 'parrot;Winxed;Compiler;RootNamespace;emit' pc 66119 (ext/winxed/compiler.pir:27440) (winxedst1.winxed:11280)
called from Sub 'parrot;Winxed;Compiler;WinxedCompileUnit;emit' pc 66733 (ext/winxed/compiler.pir:27705) (winxedst1.winxed:11398)
called from Sub 'parrot;Winxed;Compiler;WinxedHLL;__private_compile_tail' pc 66956 (ext/winxed/compiler.pir:27805) (winxedst1.winxed:11442)
called from Sub 'process_args' pc 1071 (ext/winxed/driver.pir:495) (winxed_installed.winxed:191)
called from Sub 'main' pc 1381 (ext/winxed/driver.pir:667) (winxed_installed.winxed:263)
exit status: 256
command: winxed  -o rosella/query.pir -c rosella/query.winxed
current instr.: 'parrot;Rosella;Winxed;Distutils;compile_to_pir' pc 536 (./src/winxed/Distutils.bootstrap.pir:337) (Distutils.winxed:132)
called from Sub 'parrot;Rosella;Winxed;Distutils;build_winxed_files' pc 248 (./src/winxed/Distutils.bootstrap.pir:144) (Distutils.winxed:61)
called from Sub 'run_step' pc 956 (runtime/parrot/library/distutils.pir:423)
called from Sub 'setup' pc 902 (runtime/parrot/library/distutils.pir:395)
called from Sub 'setup_main' pc 252 ((file unknown):63558474) (setup.winxed:39)
called from Sub 'main' pc 2173 ((file unknown):63559188) (setup.winxed:572)
called from Sub 'main' pc 1408 (ext/winxed/driver.pir:676) (winxed_installed.winxed:268)

current instr.: 'setup' pc 902 (runtime/parrot/library/distutils.pir:395)
called from Sub 'setup_main' pc 252 ((file unknown):63558474) (setup.winxed:39)
called from Sub 'main' pc 2196 ((file unknown):63559200) (setup.winxed:575)
called from Sub 'main' pc 1408 (ext/winxed/driver.pir:676) (winxed_installed.winxed:268)

This is on parrot 0af36791b3bbe and Rosella 2c86d47acb0a5a7

Contributor

nolanlum commented Nov 24, 2011

Whiteknight will have to comment on this. I haven't touched the query library at all.

@Whiteknight Whiteknight added a commit that referenced this pull request Nov 24, 2011

@Whiteknight Whiteknight Merge pull request #33 from nol888/master
Add Mersenne Twister implementation.

Yuki'N++ for the excellent work.
eb39b3f

@Whiteknight Whiteknight merged commit eb39b3f into Whiteknight:master Nov 24, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment