Docs.rs
  • cao-lang-0.2.6
    • cao-lang 0.2.6
    • Permalink
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • snorrwe
    • Dependencies
      • arrayvec ^0.7 normal
      • bytemuck ^1 normal
      • num_enum ^0.7 normal
      • serde ^1.0 normal optional
      • smallvec ^1 normal
      • thiserror ^2.0 normal
      • tracing ^0.1 normal
      • bincode ^1 dev
      • ciborium ^0.2 dev
      • criterion ^0.5 dev
      • env_logger ^0.11 dev
      • serde_json ^1.0 dev
      • serde_yaml ^0.9 dev
      • tracing-subscriber ^0.3 dev
      • tracing-test ^0.2 dev
      • semver ^1.0 build
      • serde ^1.0 build
      • toml ^0.8 build
    • Versions
    • 19.16% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

cao_lang0.2.6

Module compiler

Module Items

  • Structs
  • Enums
  • Functions
  • Type Aliases

In crate cao_lang

cao_lang

Module compiler

Source
Expand description

The compiler module that transforms CaoProgram into bytecode.

Structs§

Arguments
CallNode
CardIndex
Uniquely index a card in a module
CompilationError
CompileOptions
Compiler
CompositeCard
DynamicJump
ForEach
Function
Cao-lang functions
FunctionCardIndex
Module
Repeat
repeats the body N times
SetVar
StaticJump
UnaryExpression

Enums§

Card
Cao-Lang AST
CardFetchError
CompilationErrorPayload
IntoStreamError
SwapError

Functions§

compile

Type Aliases§

BinaryExpression
CaoIdentifier
CaoProgram
CompilationResult
Functions
Imports
Submodules