Show
Ignore:
Timestamp:
11/06/05 01:28:07 (3 years ago)
Author:
autrijus
Message:

* New compiler backend targets around PIL2:

./pugs -C PIL2-Perl5
./pugs -C PIL2-JSON
./pugs -C PIL2-Binary

The dash is optional (all nonalphanum is dropped), and
it's case insensitive. Eventually these will replace
the PIL1 variants when our p5/js codegens finishes the
migration.

Files:
1 modified

Legend:

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

    r7865 r7866  
    11{-# OPTIONS_GHC -fglasgow-exts -fallow-undecidable-instances -fno-warn-orphans -funbox-strict-fields -cpp #-} 
    2 {-# OPTIONS_GHC -#include "../UnicodeC.h" #-} 
    3  
    4 {-| 
    5     Compiler interface. 
    6  
    7 >   And words unheard were spoken then 
    8 >   Of folk and Men and Elven-kin, 
    9 >   Beyond the world were visions showed 
    10 >   Forbid to those that dwell therein... 
    11 -} 
    12  
    13 module Pugs.Compile ( 
     2{-# OPTIONS_GHC -#include "../../UnicodeC.h" #-} 
     3 
     4module Pugs.Compile.PIL2 ( 
    145    PIL_Stmts(..), PIL_Stmt(..), PIL_Expr(..), PIL_Decl(..), PIL_Literal(..), PIL_LValue(..), 
    156    Compile(..), 
     
    2617import Pugs.Eval.Var 
    2718import Pugs.Monads 
    28 import Pugs.PIL1 
     19import Pugs.PIL2 
    2920import Emit.PIR 
    3021import Text.PrettyPrint