Fast feedback using a REPL

In this blog post I would like to write about the REPL which I built to get a fast feedback cycle for my lexer. Before going into the topic, here is a short description of what REPL stands for and what its purpose is. REPL stands for Read-Evaluate-Print-Loop. So in the end it is an endless loop which is waiting for input from the user to evaluate it and print the outcome afterwards. »

Writing a lexer

If you have read last weeks blog post you might also have checked out the repository of my compiler on Github. After deciding which programming language to use and decided on the name for the project I started creating the first fundamental files. One of them is the lexer. Before diving too deep into the topic here is a definition of lexical analysis from Wikipedia: In computer science, lexical analysis is the process of converting a sequence of characters […] into a sequence of tokens […]. »

Starting the challenge

As mentioned in the last blog post I am finally able to start my challenge for this year. In an earlier blog post I thought about some key points that need to be decided before I can finally start. Here is the list with their short answers, the long answer is written below: In which main language will the tools be written? Go Will the language be compiled or interpreted? »

Exams..

Since I am currently right before examination period time at my studies, I’d like to take a moment to talk about something I learned during the development of a task for my university. While the task itself was not that exciting, I think the overall principle is very nice! The tool is a framework for developing new programming languages! Its name is Xtext. While I will propably never use it, I like the idea behind it. »

Some Thoughts

This week I want to share some of my thoughts about my new programming language. Or to be a bit more specific: about some technical details for building the toolchain. There are a lot of things that need to be decided which are also very important for the planning process. Here is an overview over some of them: Will the language be compiled or interpreted? What exact features will the language support? »

A New Beginning

Year after year I thought about aspects that I could possibly change to create a more positive lifestyle. These were often things like ‘eat healthier’, ‘do more sports’, ‘quit smoking’ and so on. None of those actually ever happened (beside the smoking, but that was not at New Year’s Eve). And that is the point about resolutions. They never happen if you choose another time for it than now. Do not let yourself restrict too much from events like New Year’s Eve. »