Fork me on GitHub
#releases
<
2022-10-10
>
serioga13:10:57

First beta release of the parsesso — the new parser combinators library for Clojure(Script) https://github.com/strojure/parsesso

👀 1
clojure-spin 3
🎉 3
pez13:10:43

I think this is #C06MAR553 material. Unless you have announced it there very recently?

serioga13:10:05

I did not announce. Honestly the difference between relases and announcements is not very clear to me...

pez13:10:10

Since I am not familiar with what parser combinators are, some usage examples in the README would have helped me understand what the library does.

☝️ 1
pez14:10:05

> the difference between relases and announcements is not very clear to me... #announcements is followed by more people and also bots and make a bigger splash. Libraries/projects that are updated very often tended to crowd the announcement channel a bit, so we set a once-a-month limit per project there. And this channel was created so that we still can update each other on every new release. In this case you are truly announcing something. (And something super exciting, imo 😄). Then, when you update it, rule-of-thumb is: • Less than a month ago since you posted about it in #announcements? -> #releases • About a month ago, or more? -> #announcements

1
borkdude14:10:49

FYI, jaasenta works with #babashka but kern didn't for which I submitted a PR here: https://github.com/blancas/kern/pull/21/files

serioga14:10:52

jaasenta is most not-idiomatic and slow implementation 😕 @U04V15CAJ btw I would be happy to know if parsesso works with bb.

borkdude14:10:19

I mentioned this because I ran into exactly the same issue with your library which might be solved similar that PR

👀 1
borkdude14:10:12

In the repo, you can try with:

$ bb -cp src -e "(require '[strojure.parsesso.core :as p])"

1
serioga14:10:56

@U04V15CAJ do you use any parser libs in babashka yourselves?

borkdude14:10:45

do you mean, for scripting, or within babashka itself?

serioga14:10:32

For something when you need parser lib to be working in bb?

borkdude14:10:09

I think parser combinator libraries aren't used that much in most clojure projects, but several people have asked for instaparse in bb and having something which works is always nice. See parsing here: https://babashka.org/toolbox/

borkdude14:10:49

I'm not asking you to support bb, but you might be able to with just a small change, and if someone else is interested, could look into it later

borkdude14:10:51

It was just a side remark. Sorry for derailing this thread ;)

serioga15:10:19

@U04V15CAJ “but you might be able to with just a small change” Well, I can't succeed with this “small change” fast, so I will look at it later.

borkdude15:10:52

Ah yes, the issue might be bigger in your implementation. Good luck!

serioga15:10:23

yes, let it be a first issue :-)

❤️ 1
borkdude14:10:43

I'm keeping a collection of babashka scripts here that you can install as system-wide tools with #babashka-bbin https://github.com/borkdude/tools One script to note is lein2deps which given a project.clj in the current directory, prints a deps.edn map. It also works with --eval which will evaluate expressions in the project.clj which is disabled by default.

🙏 3
🎉 1
borkdude 1
phronmophobic17:10:13

Updating dependencies, minor improvements, and general bitrot prevention. • https://github.com/phronmophobic/membrane.term - A simple terminal emulator in clojure. • https://github.com/phronmophobic/snowball - View the sizes of your dependencies. • https://github.com/phronmophobic/clj-media - View or create videos and gifs with clojure. • https://github.com/phronmophobic/clj-media/tree/main/examples/codetogif - A basic example of creating gifs using clj-media. • https://github.com/phronmophobic/viscous - A visual data inspector/explorer that runs in constant space, time, and screen space. • https://github.com/phronmophobic/treemap-clj - An alternative to pprint for generically visualizing heterogeneous, hierarchical data.

🎉 4