Re: Prolog Code Editors in Javascript

Torbjörn Lager <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <CA+Y3JZi=P0j12Lv_J0iGdO1O3i5gk6HkB6uQGvBvy7w01SdiJA@mail.gmail.com>
I'm using ACE. The Prolog mode is only so-so. Definitely needs more
work. Here's the file that defines the mode:

  http://swish.spyderbrain.com:5003/vendor/src-noconflict/mode-prolog.js

Check out the DCG and expert system examples in SWISH for ways in
which it get things wrong:

 http://swish.spyderbrain.com:5003/swish#553586949
 http://swish.spyderbrain.com:5003/swish#789970012

The issues are most clearly visible if you set the theme to" textmate".

Regards,
Torbjörn

On Mon, Jul 22, 2013 at 6:27 PM, Anne Ogborn <[email protected]> wrote:
>
>
> Ace   http://ace.ajax.org/      Has Prolog mode. Looks OK on first inspection.
>
>
> I'm head down in the swipl site. When I come up for air I'll add CodeMirror and Ace to weblog.
> _______________________________________________
> SWI-Prolog mailing list
> [email protected]
> https://lists.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog



-- 
Torbjörn Lager
Professor of General and Computational Linguistics
Department of Philosophy, Linguistics and Theory of Science
University of Gothenburg
Box 200, SE-405 30 Gothenburg, Sweden
Phone: +46317864962
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.