Changes between Version 11 and Version 12 of GhcApiStatus


Ignore:
Timestamp:
Jun 5, 2008 10:46:30 AM (7 years ago)
Author:
claus
Comment:

hint, ghci, ast traversals, stable vs full api, ghc library path

Legend:

Unmodified
Added
Removed
Modified
  • GhcApiStatus

    v11 v12  
    3535 * [http://www.haskell.org/haskellwiki/GHC/As_a_library GHC as a Library], the Haskell Wiki page 
    3636 * [http://hackage.haskell.org/trac/ghc/wiki/Commentary/Compiler/API GHC Commentary on the GHC API] (may be outdated) 
     37 * [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/hint-0.2.1 hint, an attempt to provide a simplified and stable subset of the GHC API] 
    3738 
    3839== Various Ideas, Comments, Questions == 
     
    4243   don't want to live with lots of #ifdefs and breakage, you keep 
    4344   delaying your fantastic GHC API-base projects "until the dust 
    44    settles") (Claus Reinke) 
    45  * Is it possible to use standalone deriving to get a generic 
    46    programming framework over the ASTs without blowing 
     45   settles") (Claus Reinke)  
     46   Would it be possible to separate the monolithic GHC API into two parts, one providing a simplified and stable subset/wrapper of commonly used functionality (as in Hint, hs-plugins, GHCi), the other providing all the rest, with no stability guarantees? 
     47 * Is it possible to use standalone deriving to get a '''generic 
     48   programming framework over the ASTs''' without blowing 
    4749   up GHC's code for its own use (deriving Data, etc.)? (Claus Reinke) 
     50 * David Waern mentions [http://www.haskell.org/pipermail/haskell-cafe/2008-May/042961.html deriving `Data.Traversable`] for GHC's AST 
     51 * the need to hardcode the '''GHC library directory in GHC API clients''' is very fragile and troublesome (cf. the [http://www.haskell.org/pipermail/cvs-libraries/2008-June/008942.html Haddock version during build] thread on `cvs-ghc` for just one example). would it be possible to integrate the path for the compiling GHC as a default, so that one only needs to specify an explicit path if the default doesn't work (compiling GHC moved/unavailable)? (Claus Reinke) 
    4852 * From {{{compiler/main/GHC.hs}}}: 
    4953{{{ 
     
    6064--     - dictionary bindings 
    6165}}} 
     66 * is there a way to make all the useful functionality of GHCi more easily available from the GHC API? ie, refactoring GHCi so that both it and other GHC API clients can use the same collection of useful functionality? (Claus Reinke) 
    6267 * dynamic loading of Haskell code, ala hs-plugins, but without 
    6368   the version/platform issues (GHCi has to be able to do this