Skip to content

programming languages

7 articles in this category.

programming languages

Simple JSON parser without knowing anything beforehands

Table of Content Introduction Scanning the text Looking for specific characters Identifying elements Processing elements Introducti…

Abdur-Rahmaan Janhangeer

Chef

programming languages

DSL / Python / New Language: How to build a CSS pre-processor (like SASS) from scratch (DotDot)

If you are in web development, maybe you’ve heard of Sass, Less, Pug, …

Abdur-Rahmaan Janhangeer

Chef

programming languages

Markov Chains in Python: Reviving Bertrand Russell's Prose

Have you ever finished a book by a brilliant author and wished there was just one more chapter? While we can’t bring back the great thinkers of the past, we can use Markov Chains t…

Abdur-Rahmaan Janhangeer

Chef

programming languages

Creating Your Own Domain Specific Language (DSL) in Python

Sometimes, a standard CLI tool isn’t enough, but a full-blown programming language is overkill. This is where a Domain Specific Language (DSL) shines. A DSL is a mini-language desi…

Abdur-Rahmaan Janhangeer

Chef

programming languages

Building an Indentation Analyser in Python: A Comprehensive Guide

In many programming languages, like C or Java, scope is defined by curly braces {}. However, languages like Python, Pug, and Haskell …

Abdur-Rahmaan Janhangeer

Chef

programming languages

Building a Lexer in Python: A Step-by-Step Tutorial

Understanding how to build a lexer (lexical analyzer) is a rite of passage for many programmers. It opens up a world of possibilities, from creating your own Domain Specific Langua…

Abdur-Rahmaan Janhangeer

Chef

programming languages

Case Study: Building greenBerry, a New Programming Language in Python

What does it take to create a programming language from scratch? While many think of complex C++ compilers, you can actually build a functional (though simple) language using Python. This is the st…

Tim thuma

Coder