aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/README.md
blob: c4271eaffeea8f87fd57b6577bfbeeaaa800e140 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

Bootstrap compiler
==================

This directory will contain a bootstrap compiler, written in C, that will
compile/transpile to C code of the real compiler. It will also contain a
minimal runtime library, that can be linked together with the transpiled
code.

It is being written in C89 ("ANSI C") with C99 extensions for 64-bit types,
but the source code is compatible with later versions of the C language too,
up to C24.

There are no plans to add support for modules in the bootstrap compiler.
Instead, the paths to the source code directories of all modules (i.e.
including dependencies) must be given on the command-line all at once.