Skip to content

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

Notifications You must be signed in to change notification settings

SuperJMN/Plotty

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published