In functional languages, there are typically no loops – there is no way to write a for, while or repeat expression. There are basically two ways to implement what in an imperative lanugage would require loops. The first one is…
Downloading, installing and getting started with MinGW and OpenSceneGraph (no IDE)
I have wanted to understand more about scene graphs for a while, and have decided to give the OpenSceneGraph toolkit a try. This post will describe how I have downloaded and installed both the MinGW compilers, with which I will…
Creating a quiz web application in Delphi, part 1
While surfing the net the other day, I stumbled across a quiz that I decided to take. You know the kind – you are asked a question and you may choose one of typically four alternative answers. After a specific…
Online Version Control with Kiln, part 2
I have now installed a new computer, and needed the source code that I have previously uploaded to my Kiln account (see this post). I therefore installed the Kiln client (log in to the Kiln account, and you will find…
Online Version Control with Kiln
It has been a while since my last post. I blame work, life and the excellent courses at Coursera. I now have a few ideas however, so here we go again. In addition to a few Delphi posts that are…
Project 1: Building the parse tree
Now that we have finished our tokenizer, we will look at the second task: building the parse tree. Once we have that, we can ask the tree if a set of strings are a valid match or not. More precisely,…
Redirecting output from a batch file
For the projects I plan to upload, I am currently creating a simple make file, in the form of a batch file, whose job is to build all my projects. I want it to execute the command-line compiler (currently Delphi’s,…
First project: parsing
In this first project, we will look at two concepts that are vital to e.g. the compiler you use for writing programs; tokenizing and parsing. Let’s assume you work in an organization that keeps track of e.g. a large number…
Knowledge is power
We can always get better at what we do. After developing database-centered software for a number of years, I still learned a lot from the Introduction to Databases online course. In spring, a number of free online courses are available;…
We all start somewhere
After 15 years as a professional developer, and thirty years programming for fun (overlapping, but still) I have finally decided to start blogging. I will try to mix discussions of a general nature with projects created specifically for the blog.…