ZPP

Zephyr C++ Framework

ZPP
/img/zpp_logo.png

Warning: ZPP is very much experimental/alpha quality, and non backwards compatible changes can (and will) be made at any time.

ZPP is a C++ wrapper for Zephyr so the OS API’s can be used more easily from C++.

It is not the intention of ZPP to implement a std:: library for Zephyr. ZPP tries to wrap the Zephyr C-API in C++20 without causing to much runtime and/or memory overhead.

ZPP tries to use RAII for things like locking and unlocking mutex’s comparable to the standard C++ library. Different from the standard C++ library ZPP does not use exceptions and it tries to not use dynamic memory allocation.

[Read More]

Rockstar

The Art of Code

Rockstar

To understand what this is about you absolutely should watch Dylan Beattie’s brilliant presentation about The Art of Code.

Now you know Rockstar is a computer programming language designed for creating programs that are also hair metal power ballads.

The famous Fizzbuzz program looks like this.

Midnight takes your heart and your soul
While your heart is as high as your soul
Put your heart without your soul into your heart

Give back your heart


Desire is a lovestruck ladykiller
My world is nothing
Fire is ice
Hate is water
Until my world is Desire,
Build my world up
If Midnight taking my world, Fire is nothing and Midnight taking my world, Hate is nothing
Shout "FizzBuzz!"
Take it to the top

If Midnight taking my world, Fire is nothing
Shout "Fizz!"
Take it to the top

If Midnight taking my world, Hate is nothing
Say "Buzz!"
Take it to the top

Whisper my world

On the rockstar website you can try it online. There are several implementations of Rockstar interpreters and transpilers, but most only do a subset of what Rockstar offers. So I wrote my own Rockstar to C++ transpiler in C++, that generates C++ code that can be compiled with a C++17 compiler to a native executable.

[Read More]

Rockstar

The Art of Code

Rockstar

To understand what this is about you absolutely should watch Dylan Beattie’s brilliant presentation about The Art of Code.

Now you know Rockstar is a computer programming language designed for creating programs that are also hair metal power ballads.

The famous Fizzbuzz program looks like this.

Midnight takes your heart and your soul
While your heart is as high as your soul
Put your heart without your soul into your heart

Give back your heart


Desire is a lovestruck ladykiller
My world is nothing
Fire is ice
Hate is water
Until my world is Desire,
Build my world up
If Midnight taking my world, Fire is nothing and Midnight taking my world, Hate is nothing
Shout "FizzBuzz!"
Take it to the top

If Midnight taking my world, Fire is nothing
Shout "Fizz!"
Take it to the top

If Midnight taking my world, Hate is nothing
Say "Buzz!"
Take it to the top

Whisper my world

On the rockstar website you can try it online. There are several implementations of Rockstar interpreters and transpilers, but most only do a subset of what Rockstar offers. So I wrote my own Rockstar to C++ transpiler in C++, that generates C++ code that can be compiled with a C++17 compiler to a native executable.

[Read More]