Adding GDScript highlighting support

7 views
Skip to first unread message

Cooper, David

unread,
Jun 3, 2026, 5:52:50 PMJun 3
to prete...@googlegroups.com
I’m working on a Game Development book in Godot using GDScript, and I got the syntax highlighting working in prism, and I’m currently using Python as the highlighting language for listings. It’s not perfect, but definitely better than nothing.

I did my best to follow the way that Dave Musicant made changes to add Kotlin.

Is someone available to handle a PR for this? I have the repository ready, but don’t want to make a PR without warning.

Thanks,

David

David G. Cooper, PhD
Assistant Professor
Computer Science
West Chester University
25 University Ave
Office 142
x2651



Andrew Scholer

unread,
Jun 4, 2026, 1:56:18 AMJun 4
to prete...@googlegroups.com
David - 

Are you making GDScript a language for ActiveCode programs? Or just static listings? If the former, you will need a seperate PRs on both PreTeXt and Runetone.

All of the PR's for PreTeXt go through Rob. But, if you have done the work to find and follow Dave's changes, your PR is likely in good shape. And adding a new language is not going to inspire a deep debate. It should be fine to just open the PR.

I'm personally interested in your project for some high school teachers I work with, but I'll follow up off the list about that.

Andrew Scholer



--
You received this message because you are subscribed to the Google Groups "PreTeXt development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-dev...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pretext-dev/78E234E1-E056-473C-9309-C4CCA4F49889%40wcupa.edu.

Rob Beezer

unread,
Jun 4, 2026, 9:14:35 AMJun 4
to prete...@googlegroups.com
(This got hung up on its way out yesterday afternoon.)

Dear David,

Fire away with a PR. Add whatever else needs to be said there.

Rob
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt development" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to pretext-dev...@googlegroups.com <mailto:pretext-
> dev+uns...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/pretext-
> dev/78E234E1-E056-473C-9309-C4CCA4F49889%40wcupa.edu <https://groups.google.com/
> d/msgid/pretext-dev/78E234E1-E056-473C-9309-C4CCA4F49889%40wcupa.edu?
> utm_medium=email&utm_source=footer>.

Cooper, David

unread,
Jun 5, 2026, 3:43:40 PMJun 5
to prete...@googlegroups.com
I’m making it for activecode, but I haven’t finished the runestone changes yet. I think I’ll be implementing a client side solution rather than using JOBE, but I have to make sure I can get all the glue just right.

I’ll make the PR soon.

Thanks!

David

David G. Cooper, PhD
Assistant Professor
Computer Science
West Chester University
25 University Ave
Office 142
x2651


On Jun 4, 2026, at 1:56 AM, Andrew Scholer <asch...@chemeketa.edu> wrote:


Reply all
Reply to author
Forward
0 new messages