Chaga programming language: Table of Contents

Chapter 1: Design considerations and language grammar

Chapter 2: Variables, datatypes, metadata attributes, and scope

Chapter 3: Functions and procedures

Chapter 4: Selection statements

  • IF-THEN statement
  • IF-THEN-ELSE statement
  • SWITCH statement
  • BREAK statement

Chapter 5: Iteration statements

  • FOR
  • WHILE-DO
  • DO-UNTIL

Chapter 6: Pointers

  • Pointer datatype
  • Accessing pointer datatypes with metadata attributes
  • Pointer initialization
  • Requesting memory from the heap
  • Creating pointer to function example
  • Creating pointer to procedure example

Chapter 7: Input and Output

  • Standard input
  • File input
  • Standard output
  • File output
  • Built-in I/O functions and procedures
    • getchar function
    • read function
    • putchar function
    • print procedure
    • sprint function

Copyright © 2025 Robert James Bruce.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is available at https://www.gnu.org/licenses/fdl-1.3.html