Template Grader

Re: Template Grader

von Richard Lobb -
Anzahl Antworten: 0

Sure. In the Advanced Customisation panel, set "Sandbox language" to whatever language you want for the template (nodejs for JavaScript). Then set "Ace Language" to the target language, i.e the language that the student's answer will be in.

However, if the template language is different from the target language, the template must explicitly compile (if required) and execute the student code, after checking is complete. The section Implementing new Languages in the documentation shows how for Python - same principles apply in JavaScript.