Get the latest tech news

Weaver: An ergonomic CLI parsing library for Roc lang


tten on: Sunday, May 5, 2024 This is an announcement for Weaver, my arg parsing library for the Roc language. I did a talk on Weaver that you can watch here, the transcript for which is available as a gist here.

“There is no silver bullet.” If you want the convenience of using Python for prototyping your project, you’ll either need to rewrite it into a compiled language at some point or face scaling issues relating to both performance and complexity management. There are tons of great features that I take for granted like the type system, the super helpful compiler error messages, and the clean syntax, but the biggest two are definitely the expressiveness and the good dev experience. If you’re wondering whether or not you should write code in Roc, the tl;dr is go for it now if you don’t mind using an alpha-language, but probably you should wait a couple years until they do versioned releases so you can get stability guarantees.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of library

library

Photo of CLI

CLI

Photo of Weaver

Weaver

Related news:

News photo

Google Photos testing 'Collections' redesign that buries your library

News photo

A library to assist writing memory-unsafe code in "pure" Python

News photo

Show HN: I made a CLI tool to create web extensions with no build configuration