What is your project about?
Vampirio Code is a fast, Arduino-inspired code editor that I originally developed to streamline my workflow when programming electronics projects with ESP8266, ESP32, Arduino Mega 2560, and similar boards. Over time, it evolved into a general multi-language IDE designed to let users write, test, and compile code quickly, without the overhead of building large projects just to check an algorithm.
Why did you decide to make it?I often use the Arduino IDE for electronics projects, but I wanted something faster and more flexible—a lightweight editor like Notepad++ or Sublime that could also compile code instantly. The goal was to be able to test small algorithms quickly, whether for Arduino projects or general programming, without waiting for long compilation times. As I kept developing it, I added more features until it became a full IDE capable of linking multiple files, libraries, DLLs, and even producing outputs like .exe
or .dll
for C++.
How does it work?
With Ctrl + N, you can create a new document, select your programming language, and compile or interpret your code immediately, even without saving the file.
- With Ctrl + N, you can create a new document, select your programming language, and compile or interpret your code immediately, even without saving the file.
- The core structure is based on a namespace called
Command
, where each compiler or interpreter is represented abstractly and can be called like a console command. All commands inherit fromBaseCmd.cs
and return aBaseResult
, capturing errors and execution results.
Vampirio Code also includes a namespace for builders, divided into Simple Builders and Custom Builders:
- Simple Builders handle basic functions, like compiling files from given paths.
- Custom Builders allow full IDE-like configurations: selecting libraries, linking files, setting output types, and more.
The editor is open source and available on GitHub: https://github.com/leirbag4/VampirioCode. My goal is for everyone to use it freely and have a fast, versatile environment to experiment with code, whether for Arduino or general programming.
This is an example of general programming, for example in C#
And in this example I show a build in C++ to, for example, be able to create the graphical interface of an application that controls a microcontroller using SDL2
As a multipurpose IDE you can use it with all these languages: C#, C++, Java, PHP, Javascript, HTML, and the following compilers/platforms: MSVC, Clang, GNU g++, Emscripten, NodeJS, Xampp.
I hope you find the program useful and that I've been able to contribute a little of what the internet has allowed me to learn. As I mentioned, the code is hosted on GitHub; it's open source, and I also hosted it on Vampirio Studio. Enjoy it, please comment, and give your feedback, which will be greatly appreciated.
Gabriel Frasca aka Leirbag4
Comments