Changeset 7035 for src/Pugs/AST.hs

Show
Ignore:
Timestamp:
09/17/05 22:55:58 (3 years ago)
Author:
gaal
Message:

Lexical pragmas (WIP). See Pugs.AST.Prag. Dominus++.
This doesn't work yet, my pragmas got lost somewhere between the parser
and the evaluator.
TODO after it's fixed:
- throw away the cons list in favor of a primitive [] - it's enough
- figure out how to install other kinds of pragma data, not just Int

And, the fun part:
- use fatal
- use sort 'mergesort'
- no strict :-)
- other ideas from http://perl.plover.com/TPF/Pragmas/PROPOSAL

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/AST.hs

    r6594 r7035  
    2121 
    2222    module Pugs.AST.Internals, 
     23    module Pugs.AST.Prag, 
    2324    module Pugs.AST.Pos, 
    2425    module Pugs.AST.Scope, 
     
    3132 
    3233import Pugs.AST.Internals 
     34import Pugs.AST.Prag 
    3335import Pugs.AST.Pos 
    3436import Pugs.AST.Scope