packages feed

helium 1.8 → 1.8.1

raw patch · 4 files changed

+80/−4 lines, 4 filesnew-component:exe:heliumpathPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

+ RELEASENOTES.txt view
@@ -0,0 +1,38 @@+++This document describes the various releases of the Helium compiler that were+published on Hackage since 2014. Pre-Hackage and pre-Cabal versions of Helium+are not documented. For information on these, please contact the authors+of Helium. More information on the compiler and the ideas underlying it can+be found on the Helium website, located at ++   http://foswiki.cs.uu.nl/foswiki/Helium/WebHome+   +ABOUT VERSION 1.8++This is the first version of Helium to be deployed through Cabal and Hackage.+The main changes with respect to earlier versions of Helium is how the compiler+is invoked, the parameters it supports, the use of a configuration file that+governs its behaviour, and of course the platform independence achieved through+the use of Cabal. The package offers three executables: ``texthint'' (the+text-based command-line interpreter, i.e., our version of ghci), ``runhelium''+(a wrapper for executing lvm object code files), and of course ``helium'', the+compiler itself. +++ABOUT VERSION 1.8.1++Version 1.8 of Helium does not work with the graphical programming environment+``Hint'' that Arie Middelkoop developed some years ago. Since the release of+Helium 1.8 on Hackage we found that some people would still like to use Hint. +This version of Helium works well with Hint (version 1.8.1 and higher). The+integration is achieved through a program ``heliumpath'' that exposes the+necessary path information that Hint needs to locate the libraries and the+configuration file.++Hint is not available through Hackage. The jar-file for Hint can be downloaded+from the Helium website. The sources of Hint are publicly available from the svn +repository that also stores the source code of the Helium compiler and all+associated tools. Again, see the links on the Helium website.++
helium.cabal view
@@ -1,5 +1,5 @@ name:                   helium-version:                1.8+version:                1.8.1 synopsis:               The Helium Compiler. homepage:               http://www.cs.uu.nl/wiki/bin/view/Helium/WebHome description:@@ -11,7 +11,7 @@   to define new type classes and instances.  category:               Compiler-copyright:              (c) 2014+copyright:              (c) 2014-2015 license:                GPL license-file:           LICENSE.txt author:                 Bastiaan Heeren, Jurriaan Hage@@ -19,6 +19,7 @@ stability:              provisional extra-source-files:   CREDITS.txt+  RELEASENOTES.txt   src/Makefile   src/Helium/CodeGeneration/CodeGeneration.ag   src/Helium/CodeGeneration/ToCoreDecl.ag@@ -87,7 +88,7 @@  source-repository head   type:     svn-  location: https://subversion.cs.uu.nl/repos/staff.jur.Top/trunk+  location: https://svn.science.uu.nl/repos/sci.hage0101.helium    -------------------------------------------------------------------------------- @@ -121,6 +122,16 @@  -------------------------------------------------------------------------------- +Executable heliumpath+  Build-Depends:     base >= 3 && < 5+  ghc-options:       -Wall+  default-language:  Haskell98+  hs-source-dirs:    src+  Main-is:           HeliumPath/Main.hs+  other-modules:     Paths_helium                +  +--------------------------------------------------------------------------------+   Library   Build-Depends:     base >= 3 && < 5, containers, mtl, parsec, network, process, transformers, filepath, directory, wl-pprint, Top >= 1.7, lvmlib >= 1.1   ghc-options:       -Wall
src/Helium/Main/Version.hs view
@@ -1,4 +1,4 @@ module Helium.Main.Version where   version :: String-version = "1.8 (Wed Jul 16 15:26:12 CEST 2014)"+version = "1.8.1 (Wed ... CEST 2015)"
+ src/HeliumPath/Main.hs view
@@ -0,0 +1,27 @@+{-| Module      :  Main+    License     :  GPL++    Maintainer  :  helium@cs.uu.nl+    Stability   :  experimental+    Portability :  portable+    +    The only thing this program does is display the path information +    on where to find the files associated with this version of Helium.+    This can be used by external tools, like Hint.+       +-}++module Main where++import Paths_helium++main :: IO ()+main = do+    bd <- getBinDir+    dd <- getDataDir+    +    putStrLn bd+    putStrLn dd+    return ()++