[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/haskell-tng-mode 3194e62 074/385: stefan to the rescue
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/haskell-tng-mode 3194e62 074/385: stefan to the rescue |
Date: |
Tue, 5 Oct 2021 23:59:04 -0400 (EDT) |
branch: elpa/haskell-tng-mode
commit 3194e6295ebbee7aee670dc20006ed65c266c612
Author: Tseen She <ts33n.sh3@gmail.com>
Commit: Tseen She <ts33n.sh3@gmail.com>
stefan to the rescue
---
haskell-tng-smie.el | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/haskell-tng-smie.el b/haskell-tng-smie.el
index 87ba057..56c329a 100644
--- a/haskell-tng-smie.el
+++ b/haskell-tng-smie.el
@@ -84,10 +84,9 @@
(lexp)
)
- ;; TODO to support terminators as separators
+ ;; TODO should we support terminators as separators?
;;(insts (insts ";" insts) (inst))
- ;; ;; FIXME these seem to break everything
(lexp
("if" exp "then" exp "else" exp)
;; TODO apats
@@ -122,9 +121,10 @@
;; operator precedences
;;'((assoc ";"))
;;'((assoc ","))
- ;; TODO arrange by fixity
- '((assoc "$"))
- '((assoc "+") (assoc "-"))
+ '((assoc "else" "::") ;; TODO keywords here
+ (assoc "$")
+ ;; TODO arrange by fixity
+ (assoc "+" "-"))
;; '((assoc "*"))
;; '((assoc "/"))
;; '((assoc "<$>"))
@@ -132,6 +132,9 @@
;; '((assoc ">>="))
;; '((assoc "&"))
+;; Read the "<" and ">" as parentheses: when confronted with "... else E $ ..."
+;;SMIE is not sure if you meant "... else E) $ ..." or "... else (E $ ...".
+
)))
;; TODO indentation rules
- [nongnu] elpa/haskell-tng-mode 7326aad 041/385: modules and more efficient none, (continued)
- [nongnu] elpa/haskell-tng-mode 7326aad 041/385: modules and more efficient none, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 49611c6 042/385: regression tests for fontification, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode c22f7d2 045/385: thoughts on future plans, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode a5f779d 047/385: initial SMIE tests, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode dae43ac 049/385: improvements to the default lexer, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode d76c6ad 053/385: some thoughts on WLDO detection, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 3e53f56 055/385: cleaner lexer test output, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 73e2b11 063/385: the new lexer works!, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 8e1a225 068/385: sexp tests, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 269be91 072/385: revert broken grammar rules, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 3194e62 074/385: stefan to the rescue,
ELPA Syncer <=
- [nongnu] elpa/haskell-tng-mode b690037 081/385: comment-* support, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 502cc26 085/385: document a failure mode, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 08f924c 088/385: simplify the grammar rules, better s-exps, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 71cf945 048/385: lexer test based on Haskell2010, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 4d6bbfc 050/385: feedback from Stefan, improving lexing, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 96609e4 052/385: thoughts on layout inference, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 06b357c 054/385: hacky closing braces, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 64ad4a8 057/385: refactored to centralise state, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 0ac5a2f 059/385: copyright years and move the test assertions, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode a6bb27e 061/385: [ci skip] layout algorithm implemented and tested, ELPA Syncer, 2021/10/06