0.0.3 • Published 11 months ago

@haskell-org/ghc-compat v0.0.3

Weekly downloads
-
License
BSD-3-Clause
Repository
-
Last release
11 months ago

Node.js GHC Extensions

Allows Node.js to be invoked as a companion tool by the Glasgow Haskell Compiler (GHC) during the build process.

Use Cases Covered:

  1. When building modules with the TemplateHaskell extension enabled, the process involves invokingNode.js to execute TemplateHaskell expressions within the targeted environment during the linking phase. The communication protocol between GHC and the helper tool, where Node.js functions as the executor, utilizes unnamed pipes. The behavior of unnamed pipes varies slightly across supported host platforms. On Windows, in particular, unnamed pipes need to be converted from HANDLEs to POSIX-compatible File Descriptors within the child process.
0.0.3

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago