Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

C squared

Caution

This spec is deprecated, as C² is being redesigned and rewritten.

You can quite literally ignore it whole right now, because most information (except the what this book is not and how and when to read this book sections) is mostly obsolete.

Overview

C² is an enhanced version of [C lang](https://en.wikipedia.org/wiki/C_(programming_language), made to:

  • Be easier.
  • Be more flexible.
  • Include more features for convenience.
  • Include more complex structures and types overall.
  • Give better error reports and help overall.
  • And, most importantly, make low-level simpler.

What this book IS NOT

This book is the specification of C². It contains all information about the behavior and definitions of C². This book is NOT a manual or documentation for C², it supposes the user already has background knowledge of C².

If C² declares a magic singleton, you will find it here; if it contains a primitive built-in type, you will find it here.

You can’t learn about C² by just reading this book. It does not contain informative paragraphs destinated to teaching, but objective information purely dedicated to showcasing how the language works internally.

How and when to read this book

There are two main reasons why you would read this book:

  • Answer a specific question: search for the answer by pressing s, and see if it can be solved.
  • Learn about the language’s internals: use the table of contents in the left.