VIC - Compiler for microcontrollers using Pegex and Moo

VIC - Compiler for microcontrollers using Pegex and Moo

By Vikas Kumar
Date: Tuesday, 9 June 2015 14:00
Duration: 20 minutes
Target audience: Any
Language: English
Tags: compiler hardware microcontrollers moo pegex

You can find more information on the speaker's site:


VIC is a domain specific language to develop firmware for Microchip’s PIC microcontrollers (MCU). It’s aim is for users or developers to develop firmware that looks simple, logical and can hide complexities that are in-built into VIC as language primitives. The name of the compiler to compile the language is also called "vic".

VIC has been written using Perl, Pegex and Moo. This talk will demonstrate how to write a full fledged language compiler using the Perl module Pegex and how to generate custom backends using the fantastic features of complex inheritance that can be achieved using Moo and Moo::Roles.

A short talk on VIC was given at NY.pm meetup in December 2014.


Attended by: Vikas Kumar, Andrew Hewus Fresh (‎AFresh1‎), Rick Bychowski (‎rickbike‎), Mark Horstmeier, Yanick Champoux (‎Yanick‎), Jeff Smith, Jonathan Taylor, Samuel Smith (‎esaym‎), Mark Wells, Michael LaGrasta, Brad Lhotsky, Irina Todeva, Armin Resch, Upasana Shukla (‎upasana‎),