Changeset 5697 for src/Pugs/Compile.hs

Show
Ignore:
Timestamp:
07/19/05 16:28:50 (3 years ago)
Author:
iblech
svk:copy_cache_prev:
7696
Message:

* Pugs.Compile -- Added a comment explaining why the raw Exp of a PPos isn't showed.
* PIL2JS: Moved the JS part of the Prelude to libjs/PIL2JS.js.
* PIL2JS: pil2js.pl, jspugs.pl -- Sanitized options.
* PIL2JS: PIL2JS.js, Prelude::JS -- Fixed linefeeds not working correctly undef

IE, thanks to Arathorn++ and castaway++.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Compile.hs

    r5667 r5697  
    8989    show PNil = "PNil" 
    9090    show PNoop = "PNoop" 
     91    -- We don't show the raw Exp here to ease writing parsers for PIL (Exp 
     92    -- contains things like MkEnv, etc.). 
    9193    show (PPos x _ z) = "(PPos " ++ show x ++ " Noop " ++ show z ++ ")" 
    9294    show (PApp x y i z) = "(PApp " ++ show x ++ " " ++ show y ++ " " ++ show i ++ " " ++ show z ++ ")"