Home » Archives for Federico Tomassetti

Author Archives: Federico Tomassetti

Federico has a PhD in Polyglot Software Development. He is fascinated by all forms of software development with a focus on Model-Driven Development and Domain Specific Languages.

Experiences of Practical DSLs usages: a talk with Glen Braun

More and more people are looking into adopting DSLs. While they see the general benefits, and enthusiastically learn the technicalities there is one recurring issue many are facing: figure out on which problem to apply DSLs.  For this reason, I think that sharing experiences and reflections is useful. Today I am very happy to share a conversation I recently had ...

Read More »

When you need low-code or no-code and when you need DSLs

Today we see more and more interest in low-code and no-code solutions. One may wonder how they relate to DSLs. Aren’t they all solving the same problem: democratizing software development? Well, yes, and no. In this article, we would like to discuss what these solutions are useful for, how they compare, and what you can achieve with them. What are ...

Read More »

WASI: how to run WebAssembly code outside of your browser

WASI: how to run WebAssembly code outside of your browser? WebAssembly started as a technology for writing applications running in the browser without using JavaScript. Now it can also be used to run applications outside of the browser, thanks to WASI. In this article, we are going to see what this is useful for, how we can write and run ...

Read More »

Quickly create DSLs with Langium

Langium is a language engineering tool designed to help create DSLs and low code platforms: you can quickly create DSLs with Langium. Langium is lightweight, based on Visual Studio Code and allows you to create a language and an editor in one step. In this article we are going to take a look at this new tool and create an ...

Read More »

Saving JetBrains MPS models in a database using Modelix

JetBrains MPS is our tool of choice to build Domain Specific Languages targeting professionals who are not developers. MPS is a great choice but over several projects we ran into specific issues for which we are researching an answer. In this article we see how we can solve one of these issues by using Modelix to store MPS models into ...

Read More »

Getting started with ANTLR: building a simple expression language

This post is part of a series. The goal of the series is to describe how to create a useful language and all the supporting tools. Building a lexerBuilding a parserCreating an editor with syntax highlightingBuild an editor with autocompletionMapping the parse tree to the abstract syntax treeModel to model transformationsValidationGenerating bytecode After writing this series of posts I refined ...

Read More »

Pyleri Tutorial: Parsing with Ease

Welcome to a tutorial on Pyleri, aka Python Left-Right Parser, a simple parsing tool. To use it when you need something more than a regular expression, but less than a full parser generator. In this tutorial we are going to show you how to use the tool and the basics of parsing. Why Learning Pyleri? We have written a very ...

Read More »

A complete tutorial on the Drools business rule engine

As always we share the code presented in the tutorial in a companion repository: EmailSchedulingRules. Business rules work very well to represent the logic for certain domains. They work well because they result intuitive and close to the way of thinking of many types of domain experts. The reason for that it is that they permit to decompose a large ...

Read More »