Changeset 32 for src/Lexer.hs

Show
Ignore:
Timestamp:
02/16/05 18:48:28 (4 years ago)
Author:
autrijus
svk:copy_cache_prev:
1041
Message:

* Code literals -- "sub", "pointy" and "bare" variants all works
* Lexical subroutine declarations via "my sub"
* Global subroutine and variables work again, via the envGlobal pad
* The "say", "exit", "die" primitives
* Bool.perl now prints correct literals (lwall)
* Blocks under void contexts now evaluates automatically
* The "..." (dotdotdot) literal

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Lexer.hs

    r31 r32  
    1818 
    1919perl6Def  = javaStyle 
    20           { P.commentStart   = "\n=begin\n" 
    21           , P.commentEnd     = "\n=cut\n" 
     20          { P.commentStart   = "=pod" 
     21          , P.commentEnd     = "=cut" 
    2222          , P.commentLine    = "#" 
    2323          , P.nestedComments = False