Wednesday, January 2, 2019

The files snippet

Great ideas will be popping up along the lines of smippet functions, like cursor managers.

How about a files snippet that maps high speed packed char symbols to linux file hierarchy. Used a  single multistep symbol table for the single purpose of constructing the proper linux file name fromthe map, then with the complete file name returned, the caller cn directly execute linux file calls.

In snippet land,that gives us the freedom to organize files and directories of all types, using thye semantics to match the job.  If you have a complex set up job, no probe, preloaded files with the short cuts and semantics you need, you system admin likely has a scheme.

A universal interface,tied to a common, high speed table, with syntax built into the language, no quotes needed so far.

ExecFile File_Name ./xchars/cursor/editor;

Works everywhere, gets you an cursor and key board manager for the local xchars, always there, an editor always available, same semantics. File_name here is like a typecaster, it actually call that files snipper, a method on ./.   ExecFile, in this case, loads a scrip which sets up the desired editor.

The expression is fake, files reconstructs the real file expression for linux.

ut snippets everywhere, for every little task,name spaced off for minimal interference. I fully expect both make and configure to appear as snippets. Developers keep a separate make rectangle,outsie of regular command line.

No comments: