Wednesday, January 2, 2019

Application collections

What do we need for a good code editor?

Swap out the standard cursor snippet, add you own, add highlighting, reuse Xchars, set the windows how you want, add borders and such with xcb pass thru from xchars.  Everything in xchars defined by symbols, edit window, for example. Change fonts as needed, change color per rectangle; all with basics rectangle, window, and graphic context, plus xcb pass thru and you have a collective of snippets organized into an editor.  Edit in one window, execute in the other, your editor snippet has full access to ExecCommand. Make a charting snippet.  Games of all sorts, the simplicity of high speed symbols look up does the trick here, uniform call structure in args, then direct mapping from string via tokenizer.

Leave your graphics routines right there, in args list for reuse, just inform console loop with the continue return, that informs console to retains executable codes.  The we setup arg list with specialty moves and font swaps, work the heck out of xcb, make great font based games.  If you want symbol persistence, tryout sqlite on the bus, or adapt a well written symbol maintainer snippet.

All of xchars moves with wayland, as will xcb, xchars will get nothing but faster.

Then the multi step high speed processors need control, console loop and syntax engines do the job, multi-level job control, like we need in join operations.

We can add spreadsheet snippets, the whole sheet code attached on the universal interfaces, direct control of cells. Bunches of others, a buffer snippet supports direct drawing into bitmap.  Al of the applications will adopt the fast symbol interface.

A snippet manager snippet. It keeps an eye out for loose snippets, tracks their location whenever the user wants a snippet collection.  It does snippet hunting, calls LoadModule for you, maintains a persistent collections of snippet collections.

If snippet authors build up large snippet dependencies, fine, we got names spaces, snippet hunters, pipers, and what not to cobble something close to desired collection of snippets. Load em up in the same address space, and you have an applications likely better than those that come before..

No comments: