The Magma Language

Statements and Expressions

Identifiers, assignment, booleans, and coercion.

Statements and Expressions
Functions, Procedures, and Packages

Defining functions and procedures, packages, attributes, and verbose flags.

Functions, Procedures, and Packages
Input and Output

Strings, printing, and reading input.

Input and Output
Environment and Options

Command-line options, environment variables, and verbose/info settings.

Environment and Options
Parallelism

Kernel-distributed parallelism, GPUs, and parallel linear algebra.

Parallelism
Magma Semantics

Definitions, assignment, evaluation, and scope.

Magma Semantics
The Magma Profiler

Profiling basics, call graphs, and recursive profiling.

The Magma Profiler
Debugging Magma Code

Using the interactive debugger.

Debugging Magma Code

Download Part I: The Magma Language as PDF

PDF, 812 KB, version 2.30-1

Download Part I: The Magma Language as Markdown

Markdown, 598 KB, version 2.30-1