Projects / cpphs / Releases

All releases of cpphs

  •  26 Dec 2007 22:18
Avatar

    Release Notes: This release fixes some more obscure corner cases involving parameterised macro expansion within conditionals. Internal refactoring affecting parts of the library API has been performed.

    •  18 Oct 2005 17:28
    Avatar

      Release Notes: This release now includes a compatibility script for command line arguments to match the original cpp. There are several minor bugfixes, e.g. quotes around replacements for special macros like __FILE__, etc. Interaction with preprocessors like hsc2hs is also improved: if they allow non-cpp directives like #def, these are now passed through to the output with a warning to stderr, rather than halting with an error. Likewise, a #! line in a shell script is now ignored.

      •  17 May 2005 16:53
      Avatar

        Release Notes: This release fixes a bug introduced by changes in the ghc-6.4 compiler. Output buffers are now explicitly flushed before cpphs terminates.

        •  14 Nov 2004 14:05
        Avatar

          Release Notes: This release adds the "--text" option to cpphs, allowing it to be used on any free-form text file, so it is no longer tied to the more strict lexical formatting of C or Haskell source code. This means, for instance, that macros are expanded even if they seem to occur inside a comment block, or inside a string.

          •  01 Sep 2004 17:53
          Avatar

            Release Notes: This release adds support for the special textual replacements __FILE__, __LINE__, __DATE__, and __TIME__.

            •  30 Jul 2004 17:58
            Avatar

              Release Notes: This minor update fixes a number of bugs, but especially the precedence parsing of complex logical formulae in a #if statement.

              •  07 Jun 2004 20:24
              Avatar

                Release Notes: The --stringise flag has been renamed to --hashes, and it is now used to turn on ## catenation as well as # stringisation. File inclusion now looks in the directory of the calling file in addition to the normal search path. Failure to find an include file is now a warning to stderr rather than an error. Previously, line continuations in a macro definition were always preserved in the output, permitting use of the Haskell layout rule even inside a macro. The default is now to remove line continuations for conformance with cpp, but the new option --layout permits the more liberal behaviour.

                •  31 May 2004 17:15
                Avatar

                  Release Notes: This is a new flag -Ofile to redirect output, plus bugfixes for the following three issues: precedence of ! in #if !False && False; whitespace permitted between # and if; and for #define F "blah"; #include F.

                  •  19 May 2004 03:37
                  Avatar

                    Release Notes: This release fixed a recursive macro expansion bug and added options to strip C comments and to recognise the # stringise operator in macros.

                    Screenshot

                    Project Spotlight

                    episoder

                    A tool to tell you about new episodes of your favourite TV shows.

                    Screenshot

                    Project Spotlight

                    BalanceNG

                    A modern software IP load balancer.