Crate kcl_lib

source
Expand description

Rust support for KCL (aka the KittyCAD Language).

KCL is written in Rust. This crate contains the compiler tooling (e.g. parser, lexer, code generation), the standard library implementation, a LSP implementation, generator for the docs, and more.

Modulesยง

  • Core dump related structures and functions.
  • Functions for generating docs for our stdlib functions.
  • Functions for managing engine communications.
  • The executor for the AST.
  • Functions for interacting with files on a machine.
  • The servers that power the text editor.
  • This module contains settings for kcl projects as well as the modeling app.
  • Functions implemented for language execution.
  • Types used to send data to the test server.
  • An implementation of threads that works in wasm with promises and other platforms with tokio.