This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-12-01
Channels
- # admin-announcements (20)
- # aws (24)
- # beginners (323)
- # boot (60)
- # business (1)
- # cider (23)
- # clara (7)
- # cljs-dev (38)
- # cljsrn (12)
- # clojure (302)
- # clojure-canada (5)
- # clojure-dev (26)
- # clojure-miami (1)
- # clojure-nl (13)
- # clojure-russia (64)
- # clojurecup (1)
- # clojurescript (202)
- # clojurex (4)
- # code-reviews (5)
- # core-async (23)
- # cursive (39)
- # datavis (26)
- # datomic (34)
- # devcards (5)
- # editors (19)
- # emacs (4)
- # events (6)
- # funcool (55)
- # hoplon (5)
- # ldnclj (3)
- # lein-figwheel (1)
- # luminus (15)
- # om (159)
- # omnext (7)
- # onyx (107)
- # slack-help (2)
- # testing (3)
anybody good with .tmLanguage
parsers? I'm trying to figure out if I can capture a regex followed by a single #include
sort of like this without an end pattern
special_form:
name: meta.special_form.clojure
begin: ([\`\~\'\@]+)
end: ()
contentName: meta.specialized.clojure
patterns:
- include: '#sexpr'
I’m prioritizing what the next most important feature is for #C0F4MB8AY - a lively vi written in clojure and (eventually) to be good at editing clojure. Votes would be welcome: https://trello.com/b/E2LFvVLy/avi
and the .YAML-tmLanguage https://gist.github.com/selfsame/4e56db234a88590bd640
@selfsame: What are .tmLanguage parsers? (I’ve been thinking about syntax highlighting for a bit.)
That's the format TextMate uses, also importable to Sublime Text
@eraserhd yeah it's an xml format for defining oniguruma regex patterns to assign scope tags to text, but if you're rolling your own editor I'm sure there are way better parsing ideas to choose from
Maybe… but I’m not sure I want to have to define every single language The YAML format looks kind of clean.
I was under the impression there were other standard syntax formats but not seeing any
Hmm emacs and vim seem to have their own internal thing, maybe tmLanguage is a good spec
I think so, more and more. It seems to be organized well enough to support the kind of region-identifying stuff I’ll need.