![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
@calcit/procs
Advanced tools
An interpreter runtime for Calcit snapshot file.
Running Calcit Editor with compact=true caclcit-editor
enables compact mode,
which writes compact.cirru
and .compact-inc.cirru
instead of Clojure(Script).
And this project provides a runner for compact.cirru
, written on Nim for low overhead.
A compact.cirru
file can be:
{} (:package |app)
:configs $ {} (:init-fn |app.main/main!) (:reload-fn |app.main/reload!)
:files $ {}
|app.main $ {}
:ns $ quote
ns app.main $ :require
:defs $ {}
|main! $ quote
defn main! () (+ 1 2)
|reload! $ quote
defn reload! ()
:proc $ quote ()
APIs implemented in Calcit Runner is mostly learning from Clojure.
Install dependency:
brew install fswatch sdl2 cairo
nimble test --threads:on -y
Build binaries:
nimble build --threads:on
There are currently 2 commands cr
and cr_once
:
cr compact.cirru # watch by default
cr compact.cirru --once # run only once
cr compact.cirru --init-fn='app.main/main!' # specifying init-fn
cr -e="range 100" # eval from CLI
cr --emit-js # compile to js
cr --emit-ir # compile to intermediate representation
cr_once # bundled without wathcer and SDL2, for CI only
For linux users, download pre-built binaries from http://bin.calcit-lang.org/linux/ .
Dependent modules, besides SDL2 and Cairo:
compact.cirru
file parsing.Alias in dev mode:
# rerun program on changes
nimble watch
# just run once
nimble once
# demo of eval from CLI
nimble e
# for emitting js
nimble genjs
# for emitting ir
nimble genir
:configs $ {}
:modules $ [] |phlox/compact.cirru
Calcit Runner use ~/.config/calcit/modules/
as modules directory.
Paths defined in :modules
field are just loaded as files based on this directory,
which is: ~/.config/calcit/modules/phlox.caclit.nim/compact.cirru
.
To load modules in CI environment, create that folder and clone repos manually.
MIT
FAQs
> Semantically a dialect of ClojureScript. Built with Rust. Compiles to JavaScript ES Modules.
The npm package @calcit/procs receives a total of 97 weekly downloads. As such, @calcit/procs popularity was classified as not popular.
We found that @calcit/procs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.