Live data from Hacker News

GPT-4 Designed a Programming Language

lukebechtel.com

1–10 of 338 posts

Re: GPT-4 Designed a Programming Language

#4

Well 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

#5

Well 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

#9
This 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.
Post reply on HN