Rakudo Hacking


Just some general information for hacking on the PIR code behind Rakudo

Method Organization in Files:

  1. Methods
  2. Operators
  3. Coercions
  4. Private methods
  5. Vtable functions

Source

When do you use !EXPORT?

If the method is "is export" in S29, we use !EXPORT
If there is a separate sub, then we put that sub into .namespace [] and don't !EXPORT the method
The reason is that grep { ... }, @list is different from @list.grep { ... }
Source

Misc