Nuitka : a Python compiler written in Python

This document is the recommended first read if you are interested in using Nuitka, understand its use cases, check what you can expect, license, requirements, credits, etc. Nuitka is the Python compiler. It is written in Python. It is a seamless replacement or extension to the Python interpreter and compiles every construct that CPython 2.6, 2.7, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9 have, when itself run with that Python version. It then executes uncompiled code and compiled code together […]

Read more

A small C compiler written in Python for learning purposes

SmallerC A small C compiler written in Python. Generates x64 Intel-format assembly, which is then assembled and linked by nasm and ld. Features See the tests folder for examples that compile. The function_test.c test is representative of the range of SmallerC. Math Operations: +, -, *, /, %, ++, –, &&, ||, ! Assignment: =, +=, -=, *=, /=, %= Comparison: ==, !=, = int type variables Control structures: if while for break continue Pointers (referencing and dereferencing) Arrays Function […]

Read more

Domain-specific compiler for Finite Difference/Volume/Element Earth-system models in Fortran

PSyclone Welcome to PSyclone. PSyclone is a code generation system that generates appropriate code for the PSyKAl code structure developed in the GungHo project. Please see psyclone.pdf in this directory (or on ReadTheDocs) for more information. If you would prefer to build the documentation, please see the README file in the “doc” directory. Some of the examples are available as Jupyter notebooks. These may be launched using Binder from the links below. (Note that the first time this is done, […]

Read more