[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-apl] Ideas for an online demo-version of GNU APl
From: |
baruchel |
Subject: |
Re: [Bug-apl] Ideas for an online demo-version of GNU APl |
Date: |
Thu, 13 Mar 2014 15:04:05 +0100 |
User-agent: |
Heirloom mailx 12.5 6/20/10 |
Juergen Sauermann <address@hidden> wrote:
> nice idea, we should try that.
Hi, I had a look yesterday at LLVM + emscripten, and I found surprisingly easier
than what I would have expected to try compiling GNU APL. I say "try" because I
got a few errors anyway. I am really new to these things, but as far as I can
understand, LLVM is a low-level virtual machine, and emscripten allows to
compile
code for LLVM to Javascript. If you browse a little, you may find that many
(even
huge) well-known software can be used online from a web browser. I even saw a
working version of Vim!
I am not claiming it is the way to go, but I keep it in mind, and maybe one day
I will be able to have a website with a javascript version of GNU APL in it.
I agree anyway on the fact that the apache idea is probably the best way to go
right now.
Anyway, I encountered a few errors at the very final step of the building
(linking),
because 6 or 7 symbols were unknown to emscripten. I think that three among them
only occur once in the shared-variable part of the code.
Since such an attempt would anyway get rid of the shared-variable part, do you
think
it would be easy to do to discard shared-variable at initial "configure time"
with
some --without-shared-variable flag or whatever for fully disabling the sVar.cc
part?
Best regards,
--
Thomas Baruchel