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§
- Types used to send data to the test server.
Structs§
- Information for the caching an AST and smartly re-executing it if we can.
- An error which occurred during parsing, etc.
- High level configuration.
- State for executing a program.
- The executor context. Cloning will return another handle to the same engine connection/session, as this uses
Arc
under the hood. - The executor settings.
- Format options.
- The lsp server backend.
- A subcommand for running the server.
- Identifier of a source file. Uses a u32 to keep the size small.
- The old ast and program memory.
- High level project configuration.
Enums§
- How did KCL client fail to connect to the engine
- How did the KCL execution fail
- The mode of execution. When isolated, like during an import, attempting to send a command results in an error.
- The valid types of length units.
Traits§
Functions§
- Update the AST to reflect the new state of the program after something like a move or a new line.