3 ms·
Yep. The next big programming language will be a variant of English, or other human language of choice. You can give it a BNF grammar for the target language
by CamperBob2 3y ago
Yep. The next big programming language will be a variant of English, or other human language of choice.
You can give it a BNF grammar for the target language of choice, if you like. Not only is C/C++ the "new assembly," but every other high-level programming language can be thought of that way as well.
- vba616 3y agoI asked the free version to make a basic grammar for SQL SELECT statements that is compatible with Oracle and DB2. It replied chirpily that it could do that, in so many words, and output a grammar (which I didn't test) that solely parsed MySQL identifiers rather than the double-quoted kind. It wasn't precisely an invalid response, but it was clearly inappropriate for a human-like reply and showed what I consider a qualitative absence of consciousness. I don't know why, but this seems to be a pattern with SQL - I have never asked it about MySQL, and indeed MySQL results tend to pollute my Google searches, but there may just not be enough other training material. It's starting to aggravate me every time someone concedes it only is useful sometimes, and you have to check it, because it is starting to seem like unwarranted "praising with faint damns".