Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Internal cleanup

Compare
Choose a tag to compare
@richardbuckle richardbuckle released this 26 Aug 22:06

In this release the code was reorganised to be easier to understand, and many tests were added.

These tests validated the reorganisation and refactoring, and are also becoming useful as documentation.

The static data was moved out into bindingsData.py, and there was much rejoicing.

The code is now gathered into "Parser", "Output", and "Utility" sections. Still thinking about whether to make classes out of these responsibilities.

There was a war upon bad names, for example:

    for key, item in items.items(): # <-- useless!

to:

    for physicalKeySpec, physicalKey in physicalKeys.items():

This was a major clarification and made everything much easier to understand.