Haskell IDE
Haskell CSS Shell NSIS Ruby Batchfile XSLT
Permalink
Failed to load latest commit information.
appveyor Appveyor fix Aug 27, 2016
bew Migrate from Gtk2Hs to haskell-gi Apr 10, 2016
data Added and rearranged some menu items Sep 14, 2016
docs Remove accidental eps files generated by lyx/pandoc Sep 17, 2016
language-specs Add missing field and benchmark section to cabal.lang Feb 5, 2015
linux Use newer Fedora and build webkitgtk3 with patch Apr 18, 2016
main Move YiConfig to a proper place Sep 2, 2016
osx Update OS X app bundle version Sep 4, 2016
pics Add a branch label in the workspace window Sep 3, 2016
po New version of the pt_BR translation file. Mar 30, 2013
scripts Use `cabal new-build` to build OS X binary DMG Jun 23, 2016
src/IDE Change system metadata update code threading Sep 21, 2016
tests Move YiConfig to a proper place Sep 2, 2016
travis Split travis (timed out jobs do not update cache) Jun 23, 2016
vendor Add tooltips on tabs of buffers containing the file names Sep 15, 2016
win32 Fix windows border problem with smaller radius box-shadow Sep 16, 2016
xobl Support for GHC 8.0.1 and use latest haskell-gi May 25, 2016
.dockerignore Vagrant file for Leksah, GHCJS and "GHC on Wine" May 31, 2015
.gitignore Add *.local files to .gitignore Sep 2, 2016
.gitmodules Set Appveyor to build Windows MSI (fixes #294) Jun 23, 2016
.travis.yml Split travis (timed out jobs do not update cache) Jun 23, 2016
Contributing.md Fix hackage links to point to latest version Sep 4, 2016
Dockerfile Use newer Fedora and build webkitgtk3 with patch Apr 18, 2016
LICENSE preparing first beta Jan 20, 2009
LICENSE.rtf Use WiX to make an MSI file for the windows binaries Mar 1, 2014
Readme.md Add macports packages we need Readme.md Sep 14, 2016
Setup.lhs Adding flags for hgettext conditional compilation support. Mar 26, 2013
SetupLocale.lhs Adding flags for hgettext conditional compilation support. Mar 26, 2013
appveyor.yml Appveyor fix Aug 27, 2016
cabal.project Show git branch in workspace pane Sep 3, 2016
leksah.cabal Remove other doc files from cabal file Sep 15, 2016
leksah.sh Make sure leksahecho is in the PATH Sep 2, 2016
sources.txt Switch to Gtk2Hs 0.13 and leksah-server 0.14 Jun 29, 2014

Readme.md

Leksah, an Integrated Development Environment for Haskell

Build Status

Leksah aims to integrate various Haskell development tools to provide a practical and pleasant development environment. The user interface is a mix of GTK+ and WebKit based components.

Documentation can be found on leksah.org.

Getting Leksah

Leksah requires you have ghc >= 7.10.3 and cabal-install >= 1.24 installed

Building from source

Requirements: ghc >= 7.10.3, cabal-install >= 1.24

We have just completed a port of Leksah from Gtk2Hs to haskell-gi. Not all of the code is in Hackage yet so to build it you can either use Xobl or follow the instructions below.

Step 1. Install the following C libraries

Fedora

sudo dnf install gobject-introspection-devel webkitgtk3-devel gtksourceview3-devel

Ubuntu

sudo apt-get install libgirepository1.0-dev libwebkitgtk-3.0-dev libgtksourceview-3.0-dev

Arch Linux

sudo pacman -S gobject-introspection gobject-introspection-runtime gtksourceview3 webkitgtk

OS X MacPorts

sudo port install gobject-introspection webkit-gtk3 gtksourceview3 gtk-osx-application-gtk3 adwaita-icon-theme

You will also need to build a MacPorts compatible of GHC. First install GHC some other way then unpack the source for the GHC version you want to use and run:

sudo port install libxslt gmp ncurses libiconv llvm-3.5 libffi
./configure --prefix=$HOME/ghc-8.0.1 --with-iconv-includes=/opt/local/include --with-iconv-libraries=/opt/local/lib --with-gmp-includes=/opt/local/include --with-gmp-libraries=/opt/local/lib --with-system-libffi --with-ffi-includes=/opt/local/lib/libffi-3.2.1/include --with-ffi-libraries=/opt/local/lib --with-nm=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm-classic
make
make install

Then make sure the $HOME/ghc-8.0.1/bin is in your $PATH.

OS X Homebrew

Homebrew Does not have WebKitGTK 2.4.x (newer versions of WebKitGTK only have WebKit 2 interface)

Windows MSYS2

Install MSYS2 and Chocolatey. Then in a shell with administrator privileges:

choco install ghc
pacman -S mingw64/mingw-w64-x86_64-pkg-config mingw64/mingw-w64-x86_64-gobject-introspection mingw64/mingw-w64-x86_64-gtksourceview3 mingw64/mingw-w64-x86_64-webkitgtk3

Step 2: Install tools

cabal update
cabal install alex happy
cabal install haskell-gi

(make sure ~/.cabal/bin is in PATH)

Step 3: Clone the repo

git clone --recursive https://github.com/leksah/leksah.git
cd leksah

Step 4: Build and Run Leksah

OS X using MacPorts

Run leksah.sh like

XDG_DATA_DIRS=/opt/local/share ./leksah.sh
Other OS

Run

./leksah.sh

Using stack build instead of cabal new-build

** NOTE : Building Leksah with stack is currently not working. If you can make it work let us know how you did it. **