Changes between Version 17 and Version 18 of NewPlugins


Ignore:
Timestamp:
Jan 21, 2011 7:07:46 PM (5 years ago)
Author:
thoughtpolice
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NewPlugins

    v17 v18  
    8383Most people will be using the first case - that is, writing a `BindsToBindsPluginPass` that just manipulates every individual Core binding.
    8484
    85 === Reflections on the current API ===
     85=== Reflections on the current API for Core passes ===
    8686
    87 Scala's compiler has a plugin API described by [1]. Scala is a bit of a different beast, but the compiler fully supports compilation plugins in the same manner we would like GHC to - that is, it specifies at which phase we want the plugins to run.
     87Scala's compiler has a plugin API described by [1], with examples at [2]. Scala is a bit of a different beast, but the compiler fully supports compilation plugins in the same manner we would like GHC to - that is, it specifies at which phase we want the plugins to run.
    8888
    8989TODO: expand on this bit
     
    172172
    173173[1] "Scala Compiler Phase and Plug-In Initialization for Scala 2.8" (PDF) - http://www.scala-lang.org/sites/default/files/sids/nielsen/Thu,%202009-05-28,%2008:13/compiler-phases-sid.pdf
     174[2] "Writing Scala Compiler Plugins" http://www.scala-lang.org/node/140