A very simple proposal

LucaMs

Expert
Licensed User
Longtime User
Because of what I am dealing with and which I will explain at the end of this post (*), I propose something quite easy to you.

Let's develop together a SW to generate diagrams (such as draw.io).
This SW will have a very simple feature: when you have created one or more suitable diagrams, it, thanks to its artificial intelligence, will generate one or more B4X projects, directly folders, modules (classes) and layout files.

Easy, right? 😂

I guess that in the very near future some big SW House will do it, only that that SW will generate projects in other languages (Python, Dart, Java, ...).

---------

(*)
I've been going crazy for a few days now trying to use ChatGPT to make it generate a couple of projects; it's so smart, it should come up with the right architecture (pretty complex projects).
I've wasted so much time fixing its bugs, shortcomings, etc. that I'm sure I'll do much better and faster on my own.
 

LucaMs

Expert
Licensed User
Longtime User
I realize I wrote something stupid (I'm stressed out by the tests I wrote about in the previous post).

We shouldn't develop that type of SW but one to which you explain, perhaps verbally, what type of project you want to create and it generates both the diagrams and the source codes of the projects.

Something that in theory already exists and it is precisely ChatGPT; the problem is that it produces billions of syntax and logical errors.
 

b4x-de

Active Member
Licensed User
Longtime User
Alternative suggestion: Step 1) Write a converter from UML XMI to B4X. Step 2) Use any UML-Tool i.e. free and open source Modelio from Modelio.org
 

Cableguy

Expert
Licensed User
Longtime User
Alternative suggestion n2 (or suggestion n3)
Create a "lego" like visual diagram with connections representing logical fonctions, and automatically generate B4X code from it.
I know this already exists for a few other languages...
Of course, this would be for vey simple logic sequences, but, just like there's already a CRUD generator, capable to taking a DATABASE table and create an input layout from it, and the create fonctions to interact with that particular table...
It would be a huge step in getting kids and even grown ups interested in programming
 

emexes

Expert
Licensed User
Longtime User
perhaps verbally

Telepathically would be ideal. Either by tracking pupil movement (if they ever stop rolling :rolleyes: ) or perhaps with these mind-reading headphones:


1751981717686.png
 
Top