SuperJMN / Plotty

C language compiler from scratch for a custom architecture, with virtual machine and all

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plotty

A custom architecture, compiler and virtual machine

This is Plotty, a side-project that I've made just for The Fun Of Learning®.

It features a custom architeture (Plotty) that can be programmed using the C language.

It has Compiler!

The compiler is the star of this project. It's coded from scratch in C#. The AST is generated with the help of Superpower.

Superpower? What's that?

It's a very interesting and powerful library by Nicholas Blumhardt to build parsers easily in .NET. You have to take a look at it ASAP.

It's also a virtual machine

Plotty has an emulator of a (Plotty) virtual machine. It runs the code generated by the compiler. How else would you run the code? :)

There are projects in the solution to visualize the execution of the code. The main application is a Universal Windows Application:

image

Do you want to see it running?

Then, watch this video :)

Questions? Suggestions?

Want to know more?

Let's talk! Find me on Telegram https://www.t.me/superjmn

About

C language compiler from scratch for a custom architecture, with virtual machine and all


Languages

Language:C# 94.3%Language:PowerShell 5.3%Language:C 0.3%