pcp
clj-kondo
pcp | clj-kondo | |
---|---|---|
3 | 19 | |
226 | 1,662 | |
- | 0.4% | |
0.0 | 9.1 | |
about 2 years ago | 12 days ago | |
Clojure | Clojure | |
MIT License | Eclipse Public License 1.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pcp
-
GraalVM 22.1: Developer experience improvements, Apple Silicon builds, and more
Here, have some PCP![1] The first one's free!
> An easy to use, drop-in Clojure replacement for php scripts
> Allow multiple websites to be hosted on a single $5 VPS
> The utility is a simple binary, built with GraalVM, that allows you to work effectively with pcp.
Note that not all of PCP is AOT compiled. Just the command line utility. There's a daemon as well.
[1] <https://github.com/alekcz/pcp>
- A Clojure processor that's almost a drop-in replacement for PHP-fpm behind Nginx
-
PCP: Clojure Processor -- A Clojure replacement for PHP
I've finally cut the first version of PCP (https://github.com/alekcz/pcp)!
clj-kondo
-
Advent of Code Day 4
My best suggestion here would be clj-kondo with flycheck-clj-kondo in Emacs. I really can't recommend it enough and would have killed to have it when I was learning Clojure. Not only will it underline all of those references to (now) undefined vars, but it can tell you about numerous little mistakes like mixing up arguments orders in (say) sequence functions, misplaced docstrings that get discarded, style conventions, etc. It's staggering how good it is even for a language as dynamic as Clojure.
- Strong typing, a hill I'm willing to die on
- Clj-kondo: a static analyzer and linter for Clojure
-
What does bad code in Clojure look like?
The clj-kondo linters are worth reading.
-
The YAML Document from Hell
Sure!
Spec: https://github.com/edn-format/edn
Example (linter config): https://github.com/clj-kondo/clj-kondo/blob/634294183a0aa2ca...
-
The Joy of Static Analysis: automated Clojure code refactoring
Clj-kondo doesn't produce an AST but you could easily combine the analysis output with the AST produced by rewrite-clj by matching on location.
-
Can you use Clojure for mobile, backend, frontend, scripts, desktop, and embedded development?
But if you want full support, you can implement a hook: https://github.com/clj-kondo/clj-kondo/blob/master/doc/hooks.md
-
Wrote one of my first clojure programs (tic-tac-toe). Any constructive criticism would be greatly appreciated.
Please configure and use tools like clj-kondo and kibit. Kibit will report areas where you could write idiomatic clojure instead. Eg, it should catch all those (if (condition) true false) and ask you to replace it with (condition). Or if you really need a boolean value, use boolean to coerce it.
- Want to get into closure, but struck at practice
-
Are these problems something that Just Make Sense once I learn more, or what?
Try clj-kondo, a Clojure linter which will tell you about arity errors and more, before you even evaluate your code.
What are some alternatives?
holy-lambda - The extraordinary simple, performant, and extensible custom AWS Lambda runtime for Clojure.
schema - Clojure(Script) library for declarative data description and validation
Metabase - The simplest, fastest way to get business intelligence and analytics to everyone in your company :yum:
immer - Postmodern immutable and persistent data structures for C++ — value semantics at scale
graalvm-kotlin-native-image-sample - Example project showing how to build a native, static executable from a Kotlin project using GraalVM
truffleruby - A high performance implementation of the Ruby programming language, built on GraalVM.
simplelanguage - A simple example language built using the Truffle API.
core.typed - An optional type system for Clojure
jet - CLI to transform between JSON, EDN, YAML and Transit using Clojure
web-development-with-clojure - Repository for the examples from the book Web Development with Clojure, 2nd edition
Quarkus - Quarkus: Supersonic Subatomic Java.
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production