Ancestors

Written by The Last Psion | Alex on 2024-10-03 at 13:04

Just added a tiny but handy feature to #ctran, my implementation of #Psion's OO C preprocessor.

You can now set a default path for output files, rather than having to manually specify an identical path for each type of file you are generating. You can also override the default path for each file type.

It's only a handful of lines of code that I knocked up in 15 minutes. But it makes a massive difference when using it at the command line.

https://github.com/PocketNerdIO/ctran

=> More informations about this toot | More toots from thelastpsion@bitbang.social

Toot

Written by The Last Psion | Alex on 2024-10-03 at 13:13

I'm ashamed to say that #ctran still doesn't have proper unit testing.

I'll be honest, I've been putting off learning how to use the frameworks available for #FreePascal - FPCUnit and FPTest (leaning towards the latter). I get the feeling I'm going to have to restructure the project to use them, hence my reluctance.

I had planned to start recreating another set of Psion SDK tools (EMAKE, EREMAKE and EDUMP), but proper testing needs to take priority.

=> More informations about this toot | More toots from thelastpsion@bitbang.social

Descendants

Written by The Last Psion | Alex on 2024-10-03 at 19:28

Just realised that FPCUnit is bundled with Free Pascal. As I'm looking for the path of least resistance, I'm going to use that.

EDIT: A handy PDF, too! https://www.freepascal.org/~michael/articles/fpcunit/fpcunit.pdf

=> More informations about this toot | More toots from thelastpsion@bitbang.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113243667549532765
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
295.938247 milliseconds
Gemini-to-HTML Time
0.788357 milliseconds

This content has been proxied by September (ba2dc).