headergen

Creates a header for a haskell source file. https://github.com/aka-bash0r/headergen

Latest on Hackage:0.2.0.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

MIT licensed by Nils 'bash0r' Jonsson
Maintained by aka.bash0r@gmail.com

headergen

An application written in Haskell for generating headers for Haskell source files.

Usage

Usage: headergen {help [all|COMMAND]|init|create LANGUAGE TEMPLATE MODULE}

headergen create LANGUAGE TEMPLATE MODULE
creates a new module in current working directory.
headergen init
initializes a new .headergen.def.
headergen help
shows this help information
headergen help COMMAND
shows detailed help information

Supported Languages

As for now only Haskell is supported. It is planned to implement support for more languages in future releases.

TODO

  • Extract help message interface from command module level to avoid mutual recursion over module level.
  • Implement reading of cabal files instead of using own setting files.
  • Implement a parser for updating existing source files.
  • Implement reading of file associations from file.
  • Implement support for more languages.

Changes

0.2.0.0

  • Implemented templating engine.
  • Added two basic templates.

0.1.1.1

  • Fixed a bug in the build scripts causing build of 0.1.1.0 to fail.

0.1.1.0

  • Refactored all of the code and extracted major portions to own modules.
  • Implemented command "help" for detailed help information.

0.1.0.0

  • Implemented creation of a .headergen.def
  • Implemented creation of new files via .headergen.def

Disclaimer

This is a mere prototype providing basic functionalities. It's only use is to provide it's functionality for further development of headergen. You can use it but it won't be very pleasing to use as it's feature of automatic updating headers in existing files is not implementet yet. Also the sources are very unstructured and not splitted over several modules.

comments powered byDisqus