On Wed, Sep 26, 2012 at 9:26 AM, Steve Litt <[email protected]> wrote:
> No. I want to *author* a program within Leo, including data entry > forms, and then press a button (type Ctrl+S), and have it generate the > executable I authored in Leo. Then other people just run the program > from the command line. No problem. Use @file to create an external file. Put your program in that file. Run. > What would be cool is to outline the input fields that should appear on > a screen -- what database table row and column they edit, what entry > and exit routines should be run on the input field, etc. Then press > Ctrl+S and I get a program. I don't care whether it's a python program, > or a binary executable, or something else. Just something. My brother Speed may have already done something like what you want. He wrote something called Leopard (Leo Python Response Daemon) that turns Leo into a front end for, iirc, SQLite. The "screen" he edits is simply a Leo outline. Leo itself (that is a .leo file) may be the gui you want. Leo handles the gui tedium. If you treat various parts of a custom Leo outline as the input fields, and write scripts to handle those input fields *as a db*, you will be following Speed's footsteps and getting all the gui stuff "for free". HTH. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
