You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the list of programming languages we define "default entry points" for some languages. The fact that we talk about a default entry point implies that an entry point could be defined somehow. We don't ever touch on this in the spec. some systems have in the past used rules do detect or decide on the entry point, others (e.g. Kattis) allows the user to specify. This UI detail is an implementation detail and we don't have to specify it, but I think we do need to specify it for submissions and included files in the package.
So, what is a good way to specify an override for default entry point for submissions or included files? One obvious solution would be to have some yaml file, say submission.yaml with a single key entry-point to specify this value. It's a bit awkward, but the default value requires no file and would be the most common by far. It also implies that you can't include a file called submission.yaml (at least not for languages that needs an entry point), but that seems like a very minor issue.
Thoughts?
The text was updated successfully, but these errors were encountered:
I'm leaning quite strongly towards piggybacking this on the "expectations" framework (see #135).
Specifically, add a entrypoint property to the "filename globs" in the YAML file of the expectations framework, and call that file submissions.yaml (due to the now extended use):
In the list of programming languages we define "default entry points" for some languages. The fact that we talk about a default entry point implies that an entry point could be defined somehow. We don't ever touch on this in the spec. some systems have in the past used rules do detect or decide on the entry point, others (e.g. Kattis) allows the user to specify. This UI detail is an implementation detail and we don't have to specify it, but I think we do need to specify it for submissions and included files in the package.
So, what is a good way to specify an override for default entry point for submissions or included files? One obvious solution would be to have some yaml file, say
submission.yaml
with a single keyentry-point
to specify this value. It's a bit awkward, but the default value requires no file and would be the most common by far. It also implies that you can't include a file calledsubmission.yaml
(at least not for languages that needs an entry point), but that seems like a very minor issue.Thoughts?
The text was updated successfully, but these errors were encountered: