Skip to content
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

main.kts support #109

Open
yschimke opened this issue Dec 29, 2020 · 5 comments
Open

main.kts support #109

yschimke opened this issue Dec 29, 2020 · 5 comments

Comments

@yschimke
Copy link

Kotlin scripting is well supported from the command line, also within Intellij (outside source roots).

It would be nice to have main.kts support to run an example like

https://github.com/square/okhttp/blob/3b79fdcba95fefdf0348a91f43aa888aa906db4b/samples/guide/kts/get.main.kts

@AlexanderPrendota
Copy link
Collaborator

Hey, thanks for the issue. Very nice feature request. First of all the feature should be implemented on the server-side and then It will work in Kotlin Playground out of the box, I guess.

@yschimke
Copy link
Author

Any code pointers, if it's straight forward I could be tempted to try.

@AlexanderPrendota
Copy link
Collaborator

@erokhins
Copy link

erokhins commented Dec 30, 2020

cc @ligee @zarechenskiy (just FYI, nothing more)

@yschimke
Copy link
Author

=) You are welcome. https://github.com/AlexanderPrendota/kotlin-compiler-server

Please don't consider me blocking if it something that anyone else wants to bash out. Just curious over holidays.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants