-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code Template Generation #2
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To solve challenges, solutions have to read input from the standard input and write their output to the standard output (at least this seems to be the most sensible, uniform approach to doing I/O in this context). However, users likely want to focus on the conceptual challenge rather than how to parse the input from the command line, especially as this part can vary in difficulty between languages.
If challenges describe their input format, it should be possible to have a program that can take an input format definition and generate a solution template that takes care of input parsing. Essentially, this would be a compiler from input format definition to different languages. This compiler does not have to be perfect – it's fine if it cannot remove all the boilerplate writing, and it also doesn't have to support all languages right away. But it's something to get started on to improve the experience of participation.
The text was updated successfully, but these errors were encountered: