Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@calcit/editor
Advanced tools
Intuitive S-expressions editing for Calcit.
One function/definition in a screen, Command d
to open called function at next tab, Command j
Command k
Command i
to switch. Screenshots from Chrome App:
Based on DOM/CSS, easy for another theme:
Command p
to search and jump inspired by Sublime Text :
Browse definitions in a dependency tree:
Install CLI and start a local WebSocket server, it uses calcit.cirru
as a snapshot file:
npm i -g @calcit/editor
ct
UI of the editor is a webapp on http://editor.calcit-lang.org/?port=6001
You may try with my project templates:
or even clone current repo for trying out.
Don't forget to check out keyboard shortcuts. My old introduction videos can be found on YouTube.
CLI variables for compiling code directly from calcit.cirru
:
op=compile ct
The web UI takes several query options:
http://editor.calcit-lang.org/?host=localhost&port=6001
port
, defaults to 6001
host
, defaults to localhost
, connects via WebSocketCode is emitted in compact.cirru
by pressing Command s
. Two extra files will be emitted:
compact.cirru
contains a compact version of data tree of the program..compact-inc.cirru
contains diff information from latest modification of per definition.It would be used in calcit-runner.
When server is stopped with Control c
, calcit.cirru
is also updated.
There are also several options in :configs
field in calcit.cirru
:
port
, defaults to 6001
Editor UI is decoupled with WebSocket server, so it's okay to connect remote server from multiple pages with all expressions synced in real-time.
file-transform
operationSpecial mode file-transform
added for transforming compact.cirru
back to calcit.cirru
.
op=file-transform ct
Previously it's https://github.com/Cirru/calcit-editor which is for ClojureScript. And this repo is for Calcit-js only.
MIT
FAQs
Structural Editor for Calcit Language
The npm package @calcit/editor receives a total of 2 weekly downloads. As such, @calcit/editor popularity was classified as not popular.
We found that @calcit/editor 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.