branch: elpa/haskell-tng-mode commit d9bbcdd2d68f4778c4252e50346f1f05967806e7 Author: Tseen She <ts33n....@gmail.com> Commit: Tseen She <ts33n....@gmail.com>
next steps --- README.md | 7 +++---- haskell-tng-compile.el | 19 +++++++++++++++++++ 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 54202a5..b2b64be 100644 --- a/README.md +++ b/README.md @@ -50,19 +50,18 @@ This is the status of core features: - Navigation: - [x] performance-minded `syntax-table` - [x] `font-lock` to visually distinguish types and values - - [ ] `sexp` navigation (SMIE) **IN PROGRESS** + - [x] `sexp` navigation (SMIE) - [ ] `projectile` / [`fast-tags`](https://github.com/elaforge/fast-tags) integration for `TAGS` - [ ] hoogle CLI jump-to-source - [ ] `imenu` population - Editing: - - [ ] indentation (SMIE) + - [ ] indentation (SMIE) (IN PROGRESS) - [ ] `abbrev` table - [ ] `yasnippet` templates - - [ ] `smartparens` / `paredit` rules - [ ] `LANGUAGE` management - [ ] `import` management (via hoogle and [`hsimport`](https://hackage.haskell.org/package/hsimport)) - Compiling: - - [ ] `haskell-compile` for build tool agnostic interaction with `ghc` + - [ ] `compilation-mode` for `cabal` batch commands (IN PROGRESS) - [ ] `comint-mode` based `ghc` repl Compatibility with `lsp-mode` / [`haskell-ide-engine`](https://github.com/haskell/haskell-ide-engine) is important for more advanced IDE features. diff --git a/haskell-tng-compile.el b/haskell-tng-compile.el new file mode 100644 index 0000000..cfcc193 --- /dev/null +++ b/haskell-tng-compile.el @@ -0,0 +1,19 @@ +;;; haskell-tng-compile.el --- Batch compilation -*- lexical-binding: t -*- + +;; Copyright (C) 2019 Tseen She +;; License: GPL 3 or any later version + +;;; Commentary: +;; +;; An idiomatic `compilation-mode' batch compilation command that detects +;; warnings and errors, extracting line numbers, columns and ranges. +;; +;;; Code: + +;; FIXME implement batch compilation + +;; FIXME how to test batch compilation? Canned responses for the errors and +;; perhaps an interactive call on a small no-dep project, like ffunctor. + +(provide 'haskell-tng-compile) +;;; haskell-tng-compile.el ends here