Workshop: The Art of Code: Parsing Esoteric Languages with .NET

A half-day workshop based around using C# and .NET to create a parser and interpreter for the Rockstar esoteric programming language
Online
Event is over
Workshop: The Art of Code: Parsing Esoteric Languages with .NET
Workshop: The Art of Code: Parsing Esoteric Languages with .NET
Event is over
Event is over
Event is over

We will transfer the funds to verified humanitarian aid foundations to Ukraine 🇺🇦

Workshop description:

In 2018, Dylan Beattie invented a programming language called Rockstar. Originally created as a joke, the Rockstar language inspired a community of developers to turn that joke into reality, and within a few weeks there were multiple working implementations of the Rockstar programming language.

Rockstar is just one example of an esoteric language, or esolang – a programming language designed around artificial constraints, created for fun rather than to solve any real-world problem. Esolangs range from whimsical languages inspired by music, art and literature, to completely incomprehensible languages designed to be almost impossible to work with – but underneath any esolang compiler you’ll find the same patterns, techniques and principles used to interpret and compile “real” programming languages like C and Go.

In this workshop, you’ll learn how to create a parser and interpreter for the Rockstar esoteric language, using .NET, C#, and an open source library called Pegasus. You’ll learn how to build up a complete language in stable increments, adding features to the grammar, the parser and the interpreter. You’ll learn how to implement function calls, flow control and recursion, and what’s actually happening “under the hood” to control features like variable scope and operator precedence.

By the end of the workshop, you’ll have a working Rockstar interpreter built in .NET, you’ll have a rich understanding of exactly how parsers and interpreters work - and you’ll be a bona fide, 100%, certified Rockstar Developer.

The number of participants is limited.

Approximate duration: 4 hours. Starts on May 26, at 2:00 p.m. till 6 p.m. (GMT+3).

The event will be held in English.

The workshop is run fully online, using Zoom and various online collaboration tools.

Technical requirements:

You’ll need a computer with a working .NET development environment. MacOS, Linux or Windows are all supported, and Visual Studio Code with a recent version of the .NET SDK will work just fine.
If you can run dotnet new console and then dotnet run, you’ll be fine.




Speaker Dylan Beattie

— Dylan Beattie created his first web page in 1992;

— With nearly 25 years’ experience as a professional developer, he’s worked on everything from static websites to distributed microservice architectures;

— Dylan is a Microsoft MVP and the creator of the Rockstar esoteric programming language;

— He’s presented talks about technology and software development at conferences and events all over the world;

Workshop Overview

Introduction to esoteric languages

  • Background and theory
  • Notable examples of esoteric languages

How programming languages actually work

  • Compilers, transpilers, and interpreters
  • Abstract syntax trees
  • How to design a programming language

Creating a parser with .NET

  • Introduction to parsing expression grammar (PEG)
  • Representing an abstract syntax tree in C#
  • Advanced PEG patterns and recursive grammar

Building an interpreter in .NET

  • Evaluating expressions
  • Statements, procedures, and return types
  • Flow control and logic
  • Errors and exception handling


There is limited space available and we’d love to see you there, so please buy a ticket to secure your spot!



Info partners
Want to become an info sponsor?
Mail us to partners@fwdays.com and we will discuss our cooperation
Sign in
Or by mail
Sign in
Or by mail
Register with email
Register with email
Forgot password?