Experiment: Generating Vim9script (Classes/Enums) using GitHub Copilot

23 views
Skip to first unread message

Yegappan Lakshmanan

unread,
12:06 AM (18 hours ago) 12:06 AM
to vim_dev
Hi all,

I wanted to explore the efficacy of modern AI tools in generating Vim9script,
specifically focusing on how well they handle newer constructs like classes,
interfaces, enums, type aliases, and tuples.

To test this, I used GitHub Copilot to create a fully functional
Battleship game.
I’ve uploaded the results here: https://github.com/yegappan/battleship.git

Every file in the repository was generated by Copilot. The goal was
to see if the
AI could correctly implement Vim9’s newer OOP-style features.

I found the process surprisingly efficient.

I also created a number puzzle game (https://github.com/yegappan/number-puzzle).

- Yegappan

Christian Brabandt

unread,
9:30 AM (9 hours ago) 9:30 AM
to vim...@googlegroups.com
Nice, let me mention those examples in the release notes :)

Thanks,
Christian
--
[FORTRAN] will persist for some time -- probably for at least the next decade.
-- T. Cheatham
Reply all
Reply to author
Forward
0 new messages