This page was generated at 2008-05-14 14:01:59 GMT.
(syn r14541, pugs-tests r20430, pugs-smoke r19912)
  [ Index of Synopses ]

TITLE

Synopsis 2: Bits and Pieces

AUTHOR

Larry Wall <larry@wall.org>

VERSION

  Maintainer: Larry Wall <larry@wall.org>
  Date: 10 Aug 2004
  Last Modified: 2 Apr 2008
  Number: 2
  Version: 132

This document summarizes Apocalypse 2, which covers small-scale lexical items and typological issues. (These Synopses also contain updates to reflect the evolving design of Perl 6 over time, unlike the Apocalypses, which are frozen in time as "historical documents". These updates are not marked--if a Synopsis disagrees with its Apocalypse, assume the Synopsis is correct.)

One-pass parsing

From t/regex/smartparse.t lines 9–14 (0 √, 1 ×): (skip)

 

To the extent allowed by sublanguages' parsers, Perl is parsed using a one-pass, predictive parser. That is, lookahead of more than one "longest token" is discouraged. The currently known exceptions to this are where the parser must:

Lexical Conventions

Whitespace and Comments

Built-In Data Types