[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/haskell-tng-mode e023657 107/385: SMIE wishlist
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/haskell-tng-mode e023657 107/385: SMIE wishlist |
Date: |
Tue, 5 Oct 2021 23:59:11 -0400 (EDT) |
branch: elpa/haskell-tng-mode
commit e023657633eeffa951ddd0e3ecb5598dfed2ef4a
Author: Tseen She <ts33n.sh3@gmail.com>
Commit: Tseen She <ts33n.sh3@gmail.com>
SMIE wishlist
---
haskell-tng-smie.el | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/haskell-tng-smie.el b/haskell-tng-smie.el
index ac20a73..84f4be4 100644
--- a/haskell-tng-smie.el
+++ b/haskell-tng-smie.el
@@ -174,5 +174,19 @@ current line."
:forward-token #'haskell-tng-lexer:forward-token
:backward-token #'haskell-tng-lexer:backward-token))
+;; SMIE wishlist, in order of desirability:
+;;
+;; 1. if the lexer could return lists of tokens.
+;;
+;; 2. exposing the parse tree so that s-expression navigation could be
+;; implemented and tests could be easier to write.
+;;
+;; 3. if the Emacs regexps allowed arbitrary zero length matches, especially if
+;; syntax "categories" were allowed.
+;;
+;; 4. ambiguous tokens. e.g. the word "via" is a keyword in a specific
location,
+;; but can otherwise be used as a varid. I'd like to be able to lex it as
(or
+;; "via" "VARID") so that it can appear in multiple places in the grammar.
+
(provide 'haskell-tng-smie)
;;; haskell-tng-smie.el ends here
- [nongnu] elpa/haskell-tng-mode 0c5acb7 087/385: lexer and grammar supports symid, (continued)
- [nongnu] elpa/haskell-tng-mode 0c5acb7 087/385: lexer and grammar supports symid, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 6c520bc 093/385: fixes for type level lists, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode f085f16 097/385: indentation regression tests, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 01ea0b8 103/385: heuristic alternative indentation levels, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode c20ea4f 096/385: infix varid as symid, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode bfe859a 095/385: notes about lexers, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 0506391 109/385: module ... where indents to 0, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode d9bbcdd 111/385: next steps, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 6cf67bf 105/385: indentation can't handle mismatched parens, don't test for it, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 25b15eb 102/385: indentation alternatives wiring, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode e023657 107/385: SMIE wishlist,
ELPA Syncer <=
- [nongnu] elpa/haskell-tng-mode 497214b 119/385: syntax tests and bugfixes, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode df5d2c5 122/385: better whitespace gap detection, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 3b7cd02 123/385: some todos, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode fc4d3e3 127/385: compilation mode supports multiline error spans, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 88bad65 128/385: visually distinguish compile errors and warnings, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 9dc0abc 129/385: alt indentation levels should be ordered, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 879fc34 130/385: thots, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 1009082 140/385: append indentation test, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 88b17d4 137/385: started indentation rules, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode cf22f3a 138/385: simplify indentation testing, ELPA Syncer, 2021/10/06