docs / guide / The Cajeta Guide

Chapters — Introduction
  1. Introduction
  2. 0. Introduction
  3. 1. Installation
  4. 2. Kick the tires
  5. 3. Your first project
  6. 4. Running your application
  7. 5. Debugging
  8. 6. Keywords
  9. 7. Comments
  10. 8. Native types
  11. 9. Type kinds
  12. 10. Allocation
  13. 11. Ownership & borrowing
  14. 12. Control flow
  15. 13. Strings & formatting
  16. 14. Templates & wildcards
  17. 15. Lambdas & captures
  18. 16. Operator overloading
  19. 17. Inheritance
  20. 18. Annotations & synthesis
  21. 19. DI & aspects
  22. 20. Error handling
  23. 21. Reflection
  24. 22. Differentiation
  25. 23. Code coverage
  26. 23. Profiling
  27. 24. Notebooks

The Cajeta Guide

A linear walk through the toolchain, the language, and the standard library. Chapters link to tour demos you can run, and to the stdlib reference for full API surfaces.

Part I — Getting started

Chapter
00 IntroductionWhat Cajeta is; how the docs fit together
01 Installationcvm or source; verify the install
02 Kick the tiresThe cajeta command surface
03 Your first projectinit, build, the manifest, every project type
04 RunningDirect execution, run tasks, capabilities
05 Debugginggdb, the DAP server, IntelliJ, VS Code
23 Code coveragecoco: configuring it, reading it, dead-vs-untested, mutation, the IDE

(23 reads with the tooling chapters above; its file number continues the sequence rather than renumbering everything after 05.)

Part II — The language

Chapter
06 KeywordsThe reserved-word table, from the lexer
07 CommentsLine, block, and markdown doc comments
08 Native typesIntegers, floats, microfloats, char, literals
09 Type kindsclass, interface, enum, view, annotation, @Kernel
10 Allocationstack and heap
11 OwnershipBorrows, # transfers, drops
12 Control flowif, loops, switch statement + expression
13 StringsString, StringBuilder, {} formatting
14 TemplatesMonomorphization, bounds, wildcards
15 LambdasInference, borrow and transfer captures
16 OperatorsOverloading, derived forms, @AutoHash
17 InheritanceSingle, multiple, interfaces
18 AnnotationsSynthesis family; declaring your own
19 DI & aspects@Component, @Inject, @Factory, advice
20 Error handlingExceptions; why there’s no try-with-resources
21 Reflectioncajeta.reflect and the keep-set
22 DifferentiationGrad/Vmap/Jit, the annotation stack, and the eager Tape

Part III — The standard library

One chapter per package area, mirroring the tour. (Planned.)

Part IV — Specialized

Chapter
23 ProfilingThe sampling profiler, .pftrace output, reading a trace

GPU kernels, graphics, embedded targets, further toolchain deep-dives. (Planned.)

Source: docs/guide/README.md · 2 min · 380 words