While I think of 1!:1 as a one line input request, much like ⍞ I wrote something like I think you are describing some time ago. It is a session manager for an APL written entirely in JavaScript.
There are two versions, one where you need to press Turn Keyboard On to type APL characters: https://plj541.github.io/APL.js/ And one with a button next to the input field which turns the character before the cursor into APL, presuming you know the APL keyboard: https://plj541.github.io/APL.js/APL.js.html You can avoid typing APL just by copying each of the following 3 lines in one at a time and pressing enter. 'testing' ⎕file 'myTest' ⎕edit 'myTest' ⎕file 'myTest' The last line will show your changed local file after you press Resume. On Thu, Jun 9, 2022, 10:58 AM Raul Miller <[email protected]> wrote: > From my perspective, I would say that your 'Ask' is more like a web > replacement for the old > https://www.jsoftware.com/docs/help602/user/common_dialogs.htm > mechanism. (It would be interesting to try a full on build of jqt > using wasm, but it's looking like the playground is converging > slightly with jhs and some other efforts -- it's interesting to see it > evolve.) > > I think httpget is much closer to what I would expect as a web > replacement for 1!:1 > > That said, the local storage mechanism also works as "a web > replacement for 1!:1" - though, for example, a local: url prefix which > pulled from local storage should let us use an httpget wrapper to pull > from both local storage and cooperating servers. > > I will have to spend some time digesting some more of what you wrote > before I'd be ready to attempt any further impressions. > > Thanks, > > -- > Raul > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
