Hi,

yes, I can add a --safe command line option. Shared variables can already be disabled with --noSV.

/// Jürgen


On 03/10/2014 12:45 PM, Elias Mårtenson wrote:

I can set it up for testing purposes. I already have some servers available.

Would it be possible to add a flag that enables "safe mode"? This would restrict the availability of shared variables and native functions?

Regards,
Elias

On 10 Mar 2014 19:19, "Juergen Sauermann" <juergen.sauerm...@t-online.de <mailto:juergen.sauerm...@t-online.de>> wrote:

    Hi Thomas,

    nice idea, we should try that.

    I believe that it should already be possible to start
    GNU APL from eg. an apache web-server; the missing
    piece could be the backward direction (user input -> webserver).

    Security should not be too hard on linux systems.

    A problem remaining is where to host this in a permanent fashion.
    Probably the GNU project will not be too happy if we use their
    capacity
    for (possibly heavy) APL demos.

    /// Jürgen




    On 03/09/2014 11:50 PM, baruc...@gmx.com <mailto:baruc...@gmx.com>
    wrote:

        Hi,

        it is well known that Dyalog APL and NGN APL both have an
        online demo version
        which is a very nice feature:
           * for trying some quick idea when not at home;
           * for letting other people discover GNU APL;
           * for providing some kind of "permanent link" in forums,
        etc. (for instance
             on "golf" challenge forums;
           * etc.

        Both systems are quite different:
           * Dyalog APL has a server-side software
           * NGN APL has a client-side javascript software

        Of course, the server-side software needs some special care:
           * security issues if the user is allowed to execute some
        system commands;
           * CPU/memory/time quotas

        Wouldn't it be nice to have GNU APL providing its own
        demo-version?

        I browsed a little and found about Emscripten:
        https://github.com/kripken/emscripten/wiki
        https://github.com/kripken/emscripten/wiki/Tutorial

        It looks like even some large projects could be "easely"
        compiledinto javascript.

        Do you think it would be easy to do it with GNU APL?

        If someone is able to compile it to javascript, I could
        perfectly write the HTML/CSS/Javascript
        web interface as a contribution.

        Best regards,




Reply via email to