Welcome to the weekly development report or what was done in my Open Source projects in the last week.
Roguelike in a sky with steampunk theme (written in Ada)
Again, the stable version of the game is quiet. Time to call for help in bugs finding again. :) But for the last week, nothing to report here.
The development version continues its walk towards the next big version of the game. The list is short today, almost all time I've spent on two big tasks. But some small visible things were added this week too:
- The task to make the dialog with the information about the selected player's ship's crew member looking better continues. I think the invisible work is almost done, thus in the next week there should be something to show. And it should look good, at least it starts looking good now. :) Under the hood, the dialog got a big rewrite, but this should make it a bit easier to expand in the future.
- The journey to rewrite the game in Nim continues. Now, a lot of code related to drawing the map is converted. Let's hope that there are no too many new bugs. :)
And time for another ritual. As four weeks passed since the last development version, time for the new. In around 24 hours since this post, it will be available for download here.
The non-POSIX command shell written in Nim
The work on updating existing commands are done this week. I started breaking everything, called code refactoring. It is a part of a bigger task to prepare the shell for the next release.
- As mentioned above, the work no simplifying the shell's command is finished for now. The commands which earlier took ID for various things, like aliases or variables, now can be executed without the ID. In that situation, the shell will show the list of items from which the user can select a value, or cancel the command. This week commands
variable delete
and variable show
were updated to not require an ID. Of course, the old behavior is still available, so it is possible to enter the command variable delete 1
.
- The task above triggered updates to the shell's help entries related to the changed commands.
- Added support to run the shell in analyze mode. It means, I've added a nimble command to build the shell with nimprofiler support.
- The contributing guide was updated with more information about debugging the shell, like how to run tests or build the shell in analyze mode, mentioned above.
- And started a big task on some code cleanup. At the start of the work on the shell, I've added a special type for various strings in the shell. Over time the code was changed, and the type is no longer needed, it only slows down the shell. So I started this week rewriting everything to remove the special type. It triggered a lot of changes to the code, but after all, the whole shell should work better. Now there is some work to do, but I expect to finish the task in the next week. With fixing the shell's tests. :)