haskell / haskell/alex

make a ghc-style preprocessor script

Open
#4 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
323
Forks
87
PR merge metrics
No merged PRs in 30d

Description

According to this:
http://www.haskell.org/ghc/docs/latest/html/users_guide/options-phases.html

You can ship a script:

```
#!/bin/sh
alex "$2" -o="$3"
```

And then people can use a file with a pragma:
`{-# OPTIONS_GHC -pgmF alex-ghc -F #-}`
without having fun with indirect .x files and resulting .hs files

drift already uses it, and derive possibly will:
https://code.google.com/p/ndmitchell/issues/detail?id=513&colspec=ID%20Status%20Proj%20Summary%20Priority%20Stars

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.