Fork me on GitHub
#clojure-nl
<
2019-01-21
>
niels09:01:59

listened to https://www.therepl.net/episodes/16/ sounds cool, 80+ people company, whole stack supposedly clojure/clojurescript

borkdude09:01:07

Installed shellcheck as an emacs plugin. https://github.com/koalaman/shellcheck

niels09:01:40

that's handy, I use the web version all the time.

borkdude09:01:26

I wish I had used it earlier

niels09:01:11

do you use it as a flycheck backend?

skuro16:01:59

same here, shellcheck FTW

helios16:01:48

i realized recently that shellcheck is written in haskell 😮

helios16:01:57

that's even cooler

borkdude16:01:21

Haskell is a nice language to write parsers in

borkdude16:01:44

and it compiles down to binaries with fast startup time, hence suited for linting in editors

borkdude16:01:55

it’s a cool project 🙂

Lennart Buit19:01:42

Parser Combinators are great

Lennart Buit19:01:03

Love Haskell’s Parsec

borkdude19:01:54

@lennart.buit I used this in Clojure once for an advent of code problem: https://github.com/blancas/kern

Lennart Buit19:01:25

Yeah, one of the first things I went looking for when switching to clojure

borkdude19:01:47

what languages were you using before clojure?

Lennart Buit19:01:13

Ehm, started out in Java, then Python, Haskell, Ruby and now Clojure

Lennart Buit19:01:22

Last two in ‘work life’

Lennart Buit19:01:19

oh JavaScript, how can I forget about that

Lennart Buit19:01:43

Parser combinators live in this strange “they are super cool, but I don’t know when to use them” land. They are great for prototyping grammars I guess, but as soon as you know your grammar, why would you still have it as a PC

Lennart Buit19:01:03

unless you want to have context sensitivity or something like that. Thats totally valid in Parsec

borkdude19:01:11

ehm, to parse things?

Lennart Buit19:01:59

Well I mean, when you have a complete view of your grammar, why would you develop it with a Parser Combinator library instead of a Parser Generator

Lennart Buit19:01:06

PG’s are usually much faster

borkdude19:01:00

ah that makes sense