Guide

Table of Contents

This document should show how to use the Carth compiler in a guide / tutorial fashion.

For a reference-style document that describes all the constructs of language, check out the reference.

1 Installation

2 Getting started

3 Writing a program

4 Compiling and executing

5 Debugging

Carth emits rudimentary DWARF debugging information via the LLVM backend, so you can debug your programs with GDB, LLDB, etc., just like programs written in C and the like.

6 Using libraries

7 Publishing a package