This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-02-02
Channels
- # announcements (13)
- # architecture (18)
- # babashka (90)
- # beginners (80)
- # calva (35)
- # chlorine-clover (29)
- # cider (24)
- # clj-kondo (4)
- # cljfx (3)
- # clojure (60)
- # clojure-australia (2)
- # clojure-europe (60)
- # clojure-france (2)
- # clojure-germany (3)
- # clojure-italy (4)
- # clojure-nl (84)
- # clojure-norway (7)
- # clojure-uk (53)
- # clojurescript (54)
- # clojureverse-ops (1)
- # community-development (6)
- # conjure (1)
- # contributions-welcome (1)
- # cursive (12)
- # datomic (1)
- # fulcro (16)
- # garden (61)
- # girouette (1)
- # graalvm (14)
- # hugsql (1)
- # instaparse (5)
- # jobs-discuss (11)
- # keechma (1)
- # lambdaisland (3)
- # off-topic (20)
- # pathom (1)
- # re-frame (3)
- # reitit (2)
- # releases (1)
- # remote-jobs (2)
- # reveal (11)
- # shadow-cljs (58)
- # spacemacs (5)
- # sql (3)
- # startup-in-a-month (1)
- # vim (2)
Was there any attempt to use Instaparse to propose auto-completion at the end of a string which is only matching the beginning side of a grammar? Does Instaparse have any support for this kind of use case?
For example, assuming that we have the grammar:
my-grammar = 'he' | 'helsinky' | 'hello'
and we have the string "he"
, that matches the grammar already.
It would be nice if Instaparse could say that the next characters for a grammar match could also be "lsinky"
or "llo"
.I am using Instaparse heavily in the project https://github.com/green-coder/girouette
Maybe a new "suggestion"
mode could be added in Instaparse, where the resulting parse tree could contain some special nodes where we could query some suggestions of letter insertion.