-
Notifications
You must be signed in to change notification settings - Fork 364
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
Add Node.js to list of languages on README and demo languages #2297
base: master
Are you sure you want to change the base?
Conversation
README.md
Outdated
@@ -121,6 +121,7 @@ The judge can also grade in the languages listed below: | |||
* GAS x86/x64/ARM | |||
* Haskell | |||
* INTERCAL | |||
* JavaScript (Node.js, V8) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose for consistency with the C++ variants this should say "(Node.js and V8)".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed to say Node.js and V8
!
"fields": { | ||
"key": "NODEJS", | ||
"name": "JavaScript (Node.js)", | ||
"short_name": "Node.js", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The short name is used on the submission listing. For consistency, it should be all uppercase. If you leave it as null
, then key
will be used instead (which seems fine in this case).
"pk": 77, | ||
"fields": { | ||
"key": "NODEJS", | ||
"name": "JavaScript (Node.js)", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This naming sounds good to me -- could we also rename V8 to "JavaScript (V8)" for consistency?
Motivation
Related to DMOJ/judge-server#1143:
After enabling support in judge-server for a Node.js-based executor, we need add the language to the demo instance and the documentation
Changes
language_all.json
)Testing
Ran
python3 manage.py loaddata language_all
and verified the languages were loaded properly in the Admin interface