Rules / Types, classes & roles / domain-specific

Systemic Reference

Information related to the build system

What it is #

Position in the hierarchy #

Inherits from
Does
Consumed byRaku, Compiler, VM

Routines #

Signatures are reproduced from the documentation, including their declared return types. A routine listed here is part of the type's published interface; whether Raku++ implements it is a separate question, answered by the examples below.

method auth #

Instance method returning the "auth" (as in "author" or "authority") of the object. Returns "unknown" if the "auth" could not be established.

method config #

Instance returning a hash with object configuration information. Subject to change without notice, but can be helpful in environments where only one type of virtual machine is in use, or to find about the configuration of any other object that mixes in this role.

method desc #

Instance method returning the "desc" (as in "description") of the VM object. Returns a Str type object if the "desc" could not be established.

method name #

Instance method returning the name of the object.

method signature #

Instance method returning the signature of the object. Returns a Blob type object if the signature could not be established.

method version #

Instance method returning the version of the object as a Version object. Returns a Version object "unknown" if the version could not be established.

method gist #

method gist( Systemic:D: )

Instance method returning the name and version of the object. $*RAKU is an object of the Raku type, which mixes in this role and thus implements this method.

method Str #

method Str

Instance method returning the name of the object.

Examples, run three ways #

Every example below comes from the official documentation, together with the output that documentation asserts. Each was then executed by Rakudo and by Raku++ when this page was built. Where the three agree, one result is shown; where they do not, all three are — because which of them is wrong is exactly the information worth having.

1 ok · 1 rakupp-differs

say $*RAKU.gist; # OUTPUT: «Raku (6.d)␤»
Output
Raku (6.d)

Documentation, Rakudo and Raku++ all agree.

say $*RAKU.Str; # OUTPUT: «Raku␤»
Documentation
Raku
Rakudo
Raku
Raku++
Raku (6.d)

Raku++ disagrees with both the documentation and Rakudo — a defect.