Parin + Serg = MacOS Support

Kapendev alexandroskapretsos at gmail.com
Tue Jun 16 13:27:38 UTC 2026


The [Parin game engine](https://github.com/Kapendev/parin) now 
works on MacOS thanks to some help from 
[Serg](https://github.com/cyrusmsk/parin_life), our 
self-proclaimed D community manager.
Building with the provided shell scripts is still broken 
(probably), but I am 100% sure that all Apple users are DUB users 
too. So no real issue there.

What else? Umm... The new release has a feature I copy-pasted 
from monkyyy's code. It's a config format that he calls 
"buildinfo." It uses a flat structure, kinda like INI. I like it. 
You can also use it at compile-time. Example:

```d
unittest {
     struct Info {
         const(char)[] compiler;
         const(char)[] name;
         int major;
         int minor;
         int patch;

         int[2] windowStartSize;
         bool hackerMode;
     }

     enum content = "
         compiler: dmd
         name:     Cool Project
         major:    1
         minor:    2
         patch:    420

         windowStartSize: 1280 720
         hackerMode:      true
     ";

     enum info = () {
         auto result = Info();
         parseBuildInfo(content, result);
         return result;
     }();

     static assert(info.name == "Cool Project");
     static assert(info.major == 1);
     static assert(info.minor == 2);
     static assert(info.patch == 420);
     static assert(info.compiler == "dmd");
     static assert(info.windowStartSize[0] == 1280);
     static assert(info.windowStartSize[1] == 720);
     static assert(info.hackerMode == true);
}
```


More information about the Digitalmars-d mailing list