Things that NQP needs

This list is based on discussions with pmichaud and unimplemented items in the grammar, src/Grammar.pg.

Code

  • return

    Return needs to work on an exception model, and will likely require PAST/POST changes to support it.

  • Namespace support

  • Named argument (not param) support

    This will be added to PAST::Var by allowing parameter nodes to have a 'named' attribute.

Tests

  • Method ops

    This may be very hard since we don't have any methods!

  • Hash key access $<someKey>

  • List member access $[index]

  • Match variable access $/

  • Scalar context $( ... )

  • List context @( ... )