compiler/utils/pluginsupport

  Source   Edit

Plugin support for the Nim compiler. Right now plugins need to be built with the compiler only: plugins using DLLs or the FFI will not work.

Types

Plugin = tuple[package, module, fn: string, t: Transformation]
  Source   Edit
Transformation = proc (c: PContext; n: PNode): PNode {.nimcall.}
  Source   Edit

Procs

proc pluginMatches(ic: IdentCache; p: Plugin; s: PSym): bool {....raises: [],
    tags: [].}
  Source   Edit