SWI Prolog
Submitted by Saturday, 6 May, 2006 - 02:11
on
Hello,
I am new to JEdit and I was wondering if someone already have thought about integrating SWI prolog into JEdit or can help me with my starting problems:
First I edited modes/catalogs so the syntax highlightning works automatically with the file endings of my project, adjusted the prolog.xml for my needs and filled with additional keywords of swi-prolog. this worked quite well.
Then I tried the simple task to integrate the swi-shell into jedit by using the console plugin. So I started "swipl" in the System-console, which also starts the swi-prompt, but right after I get thrown out again with "ERROR: Stream user_input:8: Syntax error: Unexpected end of file". I guess there is a simple solution to this lying behind some adjustments of the console-plugin...
Further, I want to use the ErrorList-plugin to attach to swi (is this possible/usefull/hard, can it show the line of the error in the buffer) and make shortcuts to common prolog commands like "consult" aso.
Thanks for any help.
vale
I am new to JEdit and I was wondering if someone already have thought about integrating SWI prolog into JEdit or can help me with my starting problems:
First I edited modes/catalogs so the syntax highlightning works automatically with the file endings of my project, adjusted the prolog.xml for my needs and filled with additional keywords of swi-prolog. this worked quite well.
Then I tried the simple task to integrate the swi-shell into jedit by using the console plugin. So I started "swipl" in the System-console, which also starts the swi-prompt, but right after I get thrown out again with "ERROR: Stream user_input:8: Syntax error: Unexpected end of file". I guess there is a simple solution to this lying behind some adjustments of the console-plugin...
Further, I want to use the ErrorList-plugin to attach to swi (is this possible/usefull/hard, can it show the line of the error in the buffer) and make shortcuts to common prolog commands like "consult" aso.
Thanks for any help.
vale