Prompt Driven Development with Claude Code: Building a Complete TUI Framework for the Ring Programming Language

108 views
Skip to first unread message

Mahmoud Fayed

unread,
Jan 27, 2026, 2:05:31 AM (6 days ago) Jan 27
to The Ring Programming Language
Hello

Since we are in the age of AI and everyone is talking about Claude Code, I decided to run a real experiment by developing something that isn’t trivial and documenting it.

Title: Prompt Driven Development with Claude Code: Building a Complete TUI Framework for the Ring Programming Language



Abstract: 

Large language models are increasingly used in software development, yet their ability to generate and maintain large, multi-module systems through natural language interaction remains insufficiently characterized. This study presents an empirical analysis of developing a 7420-line Terminal User Interface framework for the Ring programming language, completed in roughly ten hours of active work spread across three days using a purely prompt driven workflow with Claude Code, Opus 4.5. The system was produced through 107 prompts: 21 feature requests, 72 bug fix prompts, 9 prompts sharing information from Ring documentation, 4 prompts providing architectural guidance, and 1 prompt dedicated to generating documentation. Development progressed across five phases, with the Window Manager phase requiring the most interaction, followed by complex UI systems and controls expansion. Bug related prompts covered redraw issues, event handling faults, runtime errors, and layout inconsistencies, while feature requests focused primarily on new widgets, window manager capabilities, and advanced UI components. Most prompts were short, reflecting a highly iterative workflow in which the human role was limited to specifying requirements, validating behaviour, and issuing corrective prompts without writing any code manually. The resulting framework includes a complete windowing subsystem, event driven architecture, interactive widgets, hierarchical menus, grid and tree components, tab controls, and a multi window desktop environment. By combining quantitative prompt analysis with qualitative assessment of model behaviour, this study provides empirical evidence that modern LLMs can sustain architectural coherence and support the construction of production grade tooling for emerging programming languages, highlighting prompt driven development as a viable methodology within software engineering practice.


Note: This TUI framework is developed and tested for Microsoft Windows, to work on another operating system like Linux will requires testing & modifications (This could be done in a few hours/days by interested developers)

Screen Shots:

p1.png

p2.png

p3.png

p4.png

p5.png

p6.png

p7.png

p8.png

p9.png

Greetings,
Mahmoud

Mansour Ayouni

unread,
Jan 27, 2026, 3:42:50 AM (6 days ago) Jan 27
to Mahmoud Fayed, The Ring Programming Language
Hello Mahmoud,

Congratulations for this study!
The TUI is fun to use and the code is well architectured.

Best,
Mansour

--

---
You received this message because you are subscribed to the Google Groups "The Ring Programming Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ring-lang+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ring-lang/fe65a1a4-10d4-4cfb-ac4d-a6ac98c94b30n%40googlegroups.com.

Mahmoud Fayed

unread,
Jan 27, 2026, 3:52:39 AM (6 days ago) Jan 27
to The Ring Programming Language
Hello Mansour

>> "Congratulations for this study!"
>> "The TUI is fun to use, and the code is well architectured."

You are welcome :D

Greetings,
Mahmoud

Ka mara

unread,
Jan 27, 2026, 5:43:17 AM (6 days ago) Jan 27
to Mahmoud Fayed, The Ring Programming Language

Hello Mahmoud,

Claude Code is a real game changer, and the development of a complete TUI framework shows it's capabilities.

On Claude ai, I was also able to generate a cards game with which has 3 modes (Basic, Advanced & Expert) of about 1500 lines of ring code

Regards,
Tim


Youssef Saeed

unread,
Jan 27, 2026, 6:06:54 AM (6 days ago) Jan 27
to The Ring Programming Language
Hello Mahmoud,

This is an impressive experiment! Building a 7,000+ line framework in just 10 hours is a remarkable demonstration of the power of Prompt Driven Development.

Congratulations on the result!

Best regards,
Youssef

Mahmoud Fayed

unread,
Jan 27, 2026, 6:07:27 AM (6 days ago) Jan 27
to The Ring Programming Language
Hello Tim

>> "On Claude ai, I was also able to generate a cards game with which has 3 modes (Basic, Advanced & Expert) of about 1500 lines of ring code"

This is fantastic, feel free to share the game (screen shots or the source code) at any time, this will encourage more people to adopt modern technology :D

Greetings,
Mahmoud

Mahmoud Fayed

unread,
Jan 27, 2026, 6:08:16 AM (6 days ago) Jan 27
to The Ring Programming Language
Hello Youssef

>> " This is an impressive experiment! Building a 7,000+ line framework in just 10 hours is a remarkable demonstration of the power of Prompt Driven Development."
>> "Congratulations on the result!"

You are welcome :D

Greetings,
Mahmoud

Ka mara

unread,
Jan 28, 2026, 7:13:52 AM (5 days ago) Jan 28
to Mahmoud Fayed, The Ring Programming Language

Hallo, Mahmoud et al,

This is the cards game generated using prompts and Claude ai. I made few adjustments to include rules about the game.
Feel free to explore the game;
https://github.com/timk6/Matatu-Cards-Game

And some screenshots
https://github.com/timk6/Matatu-Cards-Game/tree/main/screenshots

Regards
Tim


--

---
You received this message because you are subscribed to the Google Groups "The Ring Programming Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ring-lang+...@googlegroups.com.

Mahmoud Fayed

unread,
Jan 28, 2026, 7:33:22 AM (5 days ago) Jan 28
to The Ring Programming Language
Hello Tim

>> "This is the cards game generated using prompts and Claude ai. I made few adjustments to include rules about the game."

Thanks for sharing :D

Keep up the GREAT WORK :D

Greetings,
Mahmoud

Ka mara

unread,
Jan 28, 2026, 9:07:08 AM (5 days ago) Jan 28
to Mahmoud Fayed, The Ring Programming Language

Hallo, Mahmoud,

Thanks for the encouragement.
I Will keep on track with ring cod.

Tim


Mahmoud Fayed

unread,
Jan 28, 2026, 9:38:56 AM (5 days ago) Jan 28
to The Ring Programming Language
Hello Tim

You are welcome :D

Greetings,
Mahmoud

Liam OBrien

unread,
Jan 28, 2026, 6:35:40 PM (4 days ago) Jan 28
to The Ring Programming Language
Hi Tim,

Just a suggestion: include the URL (https://justafoodblog.com/the-ugandan-matatu-card-game-a-guide-to-playing/) in the README so that anyone checking out the repo can understand what the game is about BEFORE trying out the game application itself. 

Kind Regards,
Liam

Ka mara

unread,
Jan 28, 2026, 7:19:13 PM (4 days ago) Jan 28
to Liam OBrien, The Ring Programming Language

Hallo Liam,

Thanks for the suggestion,
The game also comes with the about/rules button. I will also include the rules in the readme

Regards
Tim


--

---
You received this message because you are subscribed to the Google Groups "The Ring Programming Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ring-lang+...@googlegroups.com.
4Capture.JPG
Reply all
Reply to author
Forward
0 new messages