Skip to content

Comments

Add Hello World example in Kotlin Scripts#1126

Open
ikamalagrahari wants to merge 1 commit intoagnilondapakou:mainfrom
ikamalagrahari:kotlinScript
Open

Add Hello World example in Kotlin Scripts#1126
ikamalagrahari wants to merge 1 commit intoagnilondapakou:mainfrom
ikamalagrahari:kotlinScript

Conversation

@ikamalagrahari
Copy link

This pull request adds support and an example for Kotlin Script. It introduces Kotlin Script to the list of languages in script.js and adds a basic "Hello, World!" example script.

Kotlin Script support:

  • Added a new entry for "Kotlin Script" to the languages array in script.js, including its description and a link to the official documentation.

Example script:

  • Added a simple helloworld.kts file that prints "Hello, World!" as an example of Kotlin Script usage.

json
{
name: 'Kotlin Script',
description: 'Kotlin Script (KTS) is the scripting variant of Kotlin that supports top-level statements without requiring a main function.',
considerations: 'Useful for scripting, automation, and build configurations. Run with kotlinc -script file.kts.',
link: 'https://kotlinlang.org/docs/command-line.html#run-scripts' // Official documentation
}

@netlify
Copy link

netlify bot commented Sep 17, 2025

Deploy Preview for helloworld-os ready!

Name Link
🔨 Latest commit 4800d92
🔍 Latest deploy log https://app.netlify.com/projects/helloworld-os/deploys/68cb1abc51fbf800089156c3
😎 Deploy Preview https://deploy-preview-1126--helloworld-os.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ikamalagrahari
Copy link
Author

Hi @agnilondapakou, I’ve added Kotlin Script support with a Hello World example. Could you please review and let me know if any changes are needed?

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.

1 participant