Birch Standard Library
Provides the basic functionality needed by most Birch programs, such as standard math, linear algebra, probability distributions, and I/O.
Birch is open source software.
It is licensed under the Apache License, Version 2.0 (the "License"); you may not use it except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
To build and install, use:
birch build birch install
To test, use:
Documentation for the standard library is readily accessible at http://www.birch-lang.org.
The standard library includes parsers for several file formats that are contained in
*.y files. The
lemon parser generator is used to build C sources for these. These C sources are included in the repository so that users of the standard library need not build them themselves. For developers, however, after modifications to any
*.y files, run
make_parser.sh manually to rebuild the C sources.