Email or username:

Password:

Forgot your password?
243 posts total
(λ. borkdude)

Hyperfiddle Electric #Clojure (formerly known as Photon)

github.com/hyperfiddle/electri

Write a program and the compiler figures out what parts should run on the backend or front-end.

(λ. borkdude)

Joyride, a #clojure(script, SCI) REPL for VSCode scripting, runs integration tests using the built-in cljs.test namespace on every commit using the vscode-test library which spins up a test VSCode instance.

app.circleci.com/pipelines/git

#vsjoyride

(λ. borkdude)

Trying out a Clojure library in an awesome console REPL (rebel-readline) with deps-try:

bbin install io.github.eval/deps-try

github.com/eval/deps-try

#clojure #babashka

(λ. borkdude)

Putting

(alter-var-root #'*warn-on-reflection* (constantly true))

in user.clj in a deps.edn project, turns on reflection warnings globally during development.

#clojure

Evergreen Toot fka Chip Butty

@borkdude I'm going to give

(alter-var-root #'*unchecked-math* (constantly :warn-on-boxed)) 

a try too

(λ. borkdude)

SCI, Clojure Interpreter, v0.7.38:

Added support for adding JS libraries to the context, so users can easily require + use them.

github.com/babashka/sci/blob/m

#clojure

(λ. borkdude)

jet.el: github.com/ericdallo/jet.el

Emacs integration for the jet Clojure tool!

(transform between EDN, JSON, Transit and YAML)

#clojure

veer66

@borkdude I have seen many Emacs users, but they make every package I want. 😍

(λ. borkdude)

grasp is a tool to find patterns in #clojure code

This is an example that prints usages of case with symbol constants (which often confuse people since they aren't evaluated):

github.com/borkdude/grasp/blob

I'm using grasp as a research tool to inform decisions for clj-kondo and SCI

(λ. borkdude)

In emacs, if you want to hack on an "extension", which are just a bunch of elisp files, you open them and evaluate your changes, that's it. It's a live environment. How is this in other editors like vim? If you want this in VSCode:
github.com/BetterThanTomorrow/

#clojure #vsjoyride

Simon Brooke

@borkdude that's the nature of a Lisp environment. In #InterLisp, you could refer to a function you hadn't written yet, run your code until it broke, and from the break have it pop open an editor with the signature of your function. You could also inspect the values of the arguments passed. You could then write the function and continue the computation.

That's amazingly powerful. >>>

(λ. borkdude)

The next version of #babashka will support reader tags without manually setting *data-readers* by scanning the bb classpath for data_readers.clj(c) - lazily - if you're not using any, there's no startup penalty - and if you add more deps it will also pick up new ones #clojure

(λ. borkdude)

(hashp isn't optimized for #babashka usage yet but you get the idea)

(λ. borkdude)

A tiny #babashka rewrite-clj script to strip commas from printed maps

#clojure

(λ. borkdude)

lein2deps now comes with a leiningen plugin to automatically sync your project.clj to a deps.edn:

github.com/borkdude/lein2deps#

#clojure #deps #leiningen

(λ. borkdude)

A new release of jet! A CLI to transform between EDN, JSON, Transit and YAML using #clojure

(think jq for clojure)

github.com/borkdude/jet

#graalvm @graalvm

(λ. borkdude)

Carve 0.3.5: remove unused Clojure vars!

Now compatible with babashka and available as a bbin-installable script!

github.com/borkdude/carve

#clojure #cljKondo #babashka

Go Up