Skip to content

Conversation

@gregofi
Copy link
Owner

@gregofi gregofi commented Mar 31, 2025

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request adds support for JavaScript (Node.js) as a new language within the project. The changes update type definitions, default programs, language constants, evaluator configuration, and documentation to incorporate JavaScript.

Reviewed Changes

Copilot reviewed 5 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
website/src/lib/types.ts Added a new language tag 'js' to the language type definitions.
website/src/lib/defaultPrograms.ts Introduced default JavaScript program code under the key "javascript".
website/src/lib/constants.ts Added a new language entry for JavaScript, keyed as "js".
evaluator/config/config.yaml Added configuration for JavaScript executor using Node.js.
docs/NewLanguage.md Updated documentation to reflect the inclusion of JavaScript support.
Files not reviewed (3)
  • evaluator/Dockerfile: Language not supported
  • evaluator/infra/languages/lua/setup.sh: Language not supported
  • website/package.json: Language not supported
Comments suppressed due to low confidence (1)

website/src/lib/defaultPrograms.ts:17

  • The key 'javascript' is inconsistent with the rest of the codebase, which uses 'js' to represent JavaScript. Consider renaming this key to 'js' for consistency.
javascript: [

@gregofi gregofi merged commit 0350341 into master Apr 1, 2025
7 checks passed
@gregofi gregofi deleted the dev branch April 1, 2025 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants