Closed Tagl closed 9 months ago
Oh we also just added this for BAPCtools, RagnarGrootKoerkamp/bapctools/pull/256. We use the name field in problem.yaml for this (as per the spec). Can you explain what your implementation does?
It simply creates a new Languages object that stores the supported programming languages, and replaces the global config with that before running all the checks. The new config will only include the languages with the specified language ids. If a language id is specified but does not exist in the global language config then an error is reported.
I notice now that the default should be all
, so will have to change that.
Oh this is about programming languages, not problem statement languages. nevermind my previous comment then.
I needed this functionality for a problem and noticed the not supported error. Definitely needs some polishing.
This PR adds support for filtering supported languages by specifying them in problem.yaml