Friday, December 7, 2018

Higher level graphics on the command bus

You mean this:

DrawArc(int * argc, void * args[]);

Arc and rectangle been around a long time. I say we assume a syntax machine is also attached to the command bus, let scripting figure out the args sequence.

Fromeconsole loop point of view this interface is fine, Console(int....)  offers LoadModule(argc......) with Entry(int..... for each, with a call of Init(.... to any new Entry(....

There, if the interface changes let me know, it looks like the same 200 year old Morse code to me. Load a graphics module, the syntax engine can manage the master window, it knows the specifics of the graphics model, it will format the args list properly. Again, doing all this with a simple function definition script like Forth makes sense to me.


No comments: