ChatGPT-4 can meanwhile do Purebasic very good. However, I must say that you have to pay the $20 and get the PLUS Version.
The free version might be disappointing at some points.
So we are talking from GPT-4.
If you do only use it from time to time, you can try this: Open Playground.
I will give you a prompt that you can use as a starting point:
Code: Select all
Act as a Purebasic and JSON Expert. Continue this Subprogram:
Procedure.s UnescapeJSONString(Est.s)
Protected Une.s, i.l, Ch.s, nc.s, Hx.s, Uc.s
Of course you can improve this Prompt, and i want to give you a Sample on how far you can go.
This is just for fun. And to make you experiment with it. I call it the "Split Personality Prompting".
Code: Select all
I want you to act as 10 Purebasic developers, "A", "B" to "J".
All these Purebasic Developers are experts in different fields of Purebasic Code and x86 Inline Assembler, show me their fields of expertise.
I will give you a task to solve that all ten person will solve, but you will not output their result,
just output "Solved A","Solved B" until "Solved J" together with a short comment what is special with their solution.
You will then internally let an Expert Admin evaluate all 10 results,
compare them and then combine all 10 results to one perfect result that you will output.
Here is the task to solve: "Make a Purebasic Program to to get the number of Users out of the Active directory"
So i could not test it. But its very promising:
Claude 2
If you are from GB or US, maybe you can try if it speaks Purebasic already.