Changeset 32 for src/AST.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/AST.hs

    r31 r32  
    4646    castV = VSub 
    4747    doCast (VSub b) = b 
     48    doCast v = error ("Cannot cast into VSub: " ++ (show v)) 
    4849 
    4950instance Value VBool where