GPT-4 Designed a Programming Language
lukebechtel.com
GPT-4 Designed a Programming Language
1–10 of 338 posts
Re: GPT-4 Designed a Programming Language
#2Well of course it likes Python, it is Python.
Re: GPT-4 Designed a Programming Language
#3Well of course it likes Python, it is Python.
I had to chuckle at how well the markdown python parser did, despite the sometimes foreign typescript-y syntax :D
Re: GPT-4 Designed a Programming Language
#4Well of course it likes Python, it is Python.
There are let declarations and a built-in actor model and some DSL for RPC services (rather than libraries), but otherwise it's literal Python written with a different syntax.
I think I prefer Python in Haskell's disguise: https://pyos.github.io/dg/
Re: GPT-4 Designed a Programming Language
#5Well of course it likes Python, it is Python.
A while ago I attempted to get ChatGPT to create a programming language with little direction from me, I wanted it to make its own choices. It ended up recreating Python and then insisting that its language, which was clearly Python, was in fact distinct from Python.
Re: GPT-4 Designed a Programming Language
#6It says it has indentation syntax but it clearly uses braces TypeScript-like. I wonder why author describes it as a mix between Python and TypeScript.
Re: GPT-4 Designed a Programming Language
#7Well of course it likes Python, it is Python.
Re: GPT-4 Designed a Programming Language
#8It says it has indentation syntax but it clearly uses braces TypeScript-like. I wonder why author describes it as a mix between Python and TypeScript.
JS an Python are the top active languages on Github, so its probably due to the training data.
Re: GPT-4 Designed a Programming Language
#9This actually isn't a bad idea, GPT takes commonly talked about things and distils them into a response to you, so the language you get when you ask it to make a programming language is probably a mix of well liked programming features that many people added to a language they themselves wanted. When you design a language on your own you will be too biased towards your own cases, this is a way to get around that and source the internet for what they think.
Re: GPT-4 Designed a Programming Language
#10It says it has indentation syntax but it clearly uses braces TypeScript-like. I wonder why author describes it as a mix between Python and TypeScript.
Looks like Typescript and a bit of Swift as well....