Skip to main content

The ppci project is a compiler, assembler, linker and build-system written entirely in python. The project contains everything from language front-end to code generation. It contains a front-end for the c3 language, can optimize this code and generate ARM-code.

The project contains the following:

  • Language front-ends: Brainfuck, c3

  • Various code optimizers

  • Backends for various platforms: ARM, Thumb, Python

  • Assembler

  • Linker

Warning: This project is in alpha state and not read for production use!

Quick guide

ppci can be installed using pip:

$ pip install ppci

To invoke the builder and compile the snake demo, use the following:

$ ppci-build.py -f examples/build.xml

If the compilation was succesful, the snake demo compiled into ‘examples/snake.bin’. This is a binary file with ARM-code which can be run in qemu as follows:

$ qemu-system-arm -M lm3s6965evb -kernel snake.bin -serial stdio

This runs the snake demo on an emulated lm3s demo board and displays the game to the console.

Instead of using the usage, you can also use the api.

Metadata

Release files for ppci 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ppci 0.0.4
File Size Uploaded
ppci-0.0.4.tar.gz 133.9 kB Details

Release files / ppci-0.0.4.tar.gz

Download URL ppci-0.0.4.tar.gz
Size 133.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2712398a6dd3b5a63e0ed89bc32e199242caf993389d82d2e7c2f7a83cd2a58b
BLAKE2b-256 checksum
How to use checksums
5b05d0322d3ae74a4664160cd138ad62485e821d11d5bbeaaffb9c9c8d96b238
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.5.8

2 release files

0.5.7

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

3 release files

0.5

2 release files

0.4.0

2 release files

0.3.0

1 release file

0.2.0

0.1.0

1 release file

0.0.5

1 release file

This release

0.0.4 This release

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page