This PR reworks how programming languages are configured. It removes the JSON file with config, in favour of putting all config in the Language class. That class has been cleaned up a bit to remove some methods that were not relevant.
Some benefits include:
Easier debugging: all config comes from the same place.
Easier to implement new languages: all config is done with overriding methods: there is no more confusion about some values that should go in the json file, some values that should go in the class.
Very minimal performance gain: one less JSON file to read and parse. (Although this is purely theoretical, this is not measurable in practice).
There are no externally-visible changes in this PR.
This PR reworks how programming languages are configured. It removes the JSON file with config, in favour of putting all config in the
Language
class. That class has been cleaned up a bit to remove some methods that were not relevant.Some benefits include:
There are no externally-visible changes in this PR.