r/ChatGPTCoding • u/Comprehensive-Dog35 • 22h ago
Discussion My 1st mini game using my language
With the help of ChatGPT, I've been developing my own programming language and playground.
Today I successfully created my first playable mini-game using my language!
I'm using mini-games to test commands, discover missing features and improve the language before attempting bigger projects.
It's still early in development, but I'm really proud of how far I've come.
Progress, not perfection. Normal was never an option! 👽
2
Upvotes
1
u/nickdaniels92 17h ago edited 17h ago
Designing languages and writing compilers for them is fun; my first one, which coincidentally was for graphics too, was back in the mid 80's as a school O level project, where I designed a graphics language and wrote a compiler for it that emitted 6502 assembly, utilising the built in assembler of the computer it ran on (BBC Micro). It had functions, loops, primitives, variables etc. all the usual stuff, and gave around a 50x speedup over similar code written in BASIC. Lots of fun :)
I'm wondering about yours. What's the motivation for coming up with a language, which is interpreted I imagine. What features does it have. Did you work out a formal grammar for it? As it's vibe coded, I'm wondering what specification you gave to the agent.
Or... did you just say "hey, create me a graphics language"?
1
u/Smoked_Rum 11h ago
Genuinely curious, why?