Skip to content

Code Template Generation #2

@JohnnyJayJay

Description

@JohnnyJayJay

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

Status
In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions