Skip to content

Add Kotlin capability#1074

Merged
bnmnetp merged 3 commits into
RunestoneInteractive:mainfrom
Carleton-College-CS:kotlincode
Nov 21, 2025
Merged

Add Kotlin capability#1074
bnmnetp merged 3 commits into
RunestoneInteractive:mainfrom
Carleton-College-CS:kotlincode

Conversation

@dmusican
Copy link
Copy Markdown
Contributor

Here are updates needed to get Kotlin working, following on the updates that were done to the Runestone Jobe repo and to PreTeXt. Some particular notes:

  • While CodeMirror does have a mode for Kotlin, it does not appear support a MIME type for Kotlin. So in activecode.js I used the Java MIME type for Kotlin code. Should be close enough.

  • To install Kotlin into the container that runs Jobe, I didn't do the easy/obvious approach of installing from Ubuntu's apt repos because the version there was very out-of-date. Instead, I added code to the Dockerfile to download and install directly from JetBrains.

  • There was a major conflict between pretext and the package dash-bootstrap-components, which was listed in the developer set of packages. So I removed dash-bootstrap-components, and committed both the new pyproject.toml as well as an updated poetry.lock file.

I'm happy to answer questions or make changes, so let me know how I can help. Thanks!

@dmusican dmusican requested a review from bnmnetp as a code owner November 20, 2025 21:16
@bnmnetp bnmnetp merged commit a69038c into RunestoneInteractive:main Nov 21, 2025
@bnmnetp
Copy link
Copy Markdown
Member

bnmnetp commented Nov 21, 2025

Thanks Dave!

I just pushed 7.10.0 to the CDN

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