Inside the NSM Code Generator (Part One)

Today I want to analyze the code of a static site generator named NSM or nifty site manager. The first step is to clone the repository and fetch all tags. git clone https://github.com/nifty-site-manager/nsm git fetch --tags tree ├── Variables.h ├── WatchList.cpp └── WatchList.h 18 directories, 403 files Fetching the tags is necessary to see the application’s development history. The latest version of this software is 3.0.3 published at January 2024. A simple tree command shows 18 directories and 403 files in the project directory. Let’s see how many files were in the project in the first release. git checkout v1.0 tree .... ├── SiteInfo.h ├── Title.cpp └── Title.h 1 directory, 24 files Interesting! The project started with 24 files and led to a large project containing 403 files in it. Comparing directory structures Let’s compare the directory structure of version 1.0 with version 3.0.3. Version 1.0 contains no directories and has a flat structure whereas the version 3.0.3 has the following directory structure: ...

July 10, 2026 · 22 min

From Code to Concepts: A Thirty-Year Journey

This is my first post in this weblog. I don’t know when and exactly why the C++ became a serious interest. I remember the first time I touched the C language was when I was about fourteen years old. That time I didn’t have any computer at home and I learned programming by reading the books only and writing code on paper. I was tracing the code on paper and enjoying the programming. C was my second language after BASIC. From that time until 4 years later, my most important programs were in basic rather than C, because my school book practices were in basic. ...

July 5, 2026 · 2 min