Although wamcc isn't compiling for me on gcc 4.8.2...  see
https://gist.githubusercontent.com/gaye/720537209762e2e6385d/raw/gistfile1.txt

On Wed, Jun 10, 2015 at 11:10 AM, Gareth Aye <gareth....@gmail.com> wrote:

> Actually I think that I can write my thing in prolog and then compile to c
> with wamcc and then compile to js with emscripten. Sorry for the noise!
>
> On Wed, Jun 10, 2015 at 10:51 AM, Gareth Aye <gareth....@gmail.com> wrote:
>
>> Hi Prolog Users!
>>
>> I'm hoping to use emscripten[0] to compile GNU Prolog to JavaScript.
>> Looking through the codebase, it seems as if many (most?) modules have c
>> implementations in addition to prolog implementations which is great. I
>> also read on gprolog.org that there's a wamcc that compiles prolog to c
>> (also great). I was wondering if someone could give me some pointers around
>> the work involved in generating a c/c++ only gnu prolog tree that I can
>> pass to emscripten.
>>
>> Thanks!
>> Gareth
>>
>> 0. https://github.com/kripken/emscripten
>>
>
>
_______________________________________________
Users-prolog mailing list
Users-prolog@gnu.org
https://lists.gnu.org/mailman/listinfo/users-prolog

Reply via email to