⚡
CLight
CtrlK
  • Getting started with CLight
  • Cheat Sheet
  • Reference
    • EBNF Grammar
    • Program Structure
    • Declarations and Types
    • Expressions and Assignments
      • Expressions
      • Assignement Operators
      • Binary Operators
      • Unary Operators
    • Statements
      • Expression Statements
      • Conditional Statements
      • Iterative Statements
    • Functions
      • Function Definitions
      • Function Prototypes
      • Function Calls
Powered by GitBook
On this page
  1. Reference

Program Structure

A program can be divided into multiple components, which are external declarations that include function definitions and identifier declarations.

program:  external-declaration

external-declaration:  function-definition  declaration

PreviousEBNF GrammarNextDeclarations and Types

Last updated 2 years ago