Changeset 4874 for src/Pugs/Compile

Show
Ignore:
Timestamp:
06/20/05 18:55:05 (3 years ago)
Author:
iblech
svk:copy_cache_prev:
6641
Message:

* Some work on ChangeLog?.
* Emit.PIR -- Don't quote C<'>. Now C<say "hi'"> works as expected.
* Pugs.Compile.PIR, Emit.PIR -- Some more Haddock.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Compile/PIR.hs

    r4873 r4874  
    11{-# OPTIONS_GHC -fglasgow-exts -fno-warn-orphans -funbox-strict-fields -fallow-undecidable-instances -cpp #-} 
     2 
     3{-| 
     4    This module provides 'genPIR', a function which compiles the current 
     5    environment to PIR code. 
     6 
     7    The general plan is to first compile the environment (subroutines, 
     8    statements, etc.) to an abstract syntax tree ('PIL' -- Pugs Intermediate 
     9    Representation) using the 'compile' function and 'Compile' class, and then 
     10    translate the PIL to a data structure of type 'PIR' using the 'trans' 
     11    function and 'Translate' class. This data structure is then reduced to 
     12    final PIR code by "Emit.PIR". 
     13-} 
    214 
    315module Pugs.Compile.PIR (genPIR) where