---
title: "The Magma Language"
canonical: "https://docs.magma-maths.org/v2.30-1/MagmaLanguage/index-magma-language.html"
source: "https://docs.magma-maths.org/v2.30-1/MagmaLanguage/index-magma-language.md"
part: "The Magma Language"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
prev: {"title": "Preface", "source": "https://docs.magma-maths.org/v2.30-1/preface.md"}
next: {"title": "Statements and Expressions", "source": "https://docs.magma-maths.org/v2.30-1/MagmaLanguage/StatementsAndExpressions/index-statements-and-expressions.md"}
---

# The Magma Language

- [Statements and Expressions](https://docs.magma-maths.org/v2.30-1/MagmaLanguage/StatementsAndExpressions/index-statements-and-expressions.md): Identifiers, assignment, booleans, and coercion.
- [Functions, Procedures, and Packages](https://docs.magma-maths.org/v2.30-1/MagmaLanguage/FunctionsProceduresAndPackages/index-functions-procedures-and-packages.md): Defining functions and procedures, packages, attributes, and verbose flags.
- [Input and Output](https://docs.magma-maths.org/v2.30-1/MagmaLanguage/InputOutput/index-input-output.md): Strings, printing, and reading input.
- [Environment and Options](https://docs.magma-maths.org/v2.30-1/MagmaLanguage/EnvironmentAndOptions/index-environment-and-options.md): Command-line options, environment variables, and verbose/info settings.
- [Parallelism](https://docs.magma-maths.org/v2.30-1/MagmaLanguage/Parallelism/index-parallelism.md): Kernel-distributed parallelism, GPUs, and parallel linear algebra.
- [Magma Semantics](https://docs.magma-maths.org/v2.30-1/MagmaLanguage/MagmaSemantics/index-magma-semantics.md): Definitions, assignment, evaluation, and scope.
- [The Magma Profiler](https://docs.magma-maths.org/v2.30-1/MagmaLanguage/TheMagmaProfiler/index-the-magma-profiler.md): Profiling basics, call graphs, and recursive profiling.
- [Debugging Magma Code](https://docs.magma-maths.org/v2.30-1/MagmaLanguage/DebuggingMagmaCode/index-debugging-magma-code.md): Using the interactive debugger.

[Download Part I: The Magma Language as PDF](https://docs.magma-maths.org/v2.30-1/MagmaLanguage/magma-hb-2.30-1-magmalanguage.pdf)

PDF, 765 KB, version 2.30-1

[Download Part I: The Magma Language as Markdown](https://docs.magma-maths.org/v2.30-1/MagmaLanguage/magma-hb-2.30-1-magmalanguage.md)

Markdown, 598 KB, version 2.30-1
