I want to use Prolog in SublimeREPL.
I set up correctly the interpreter (swipl or gprolog) in the config file of SublimeREPL and everything works fine except for one thing: the start character "?-" of the line never show up, an if a get a result like "X=1" when I press Enter what happen in the terminal is print a dot "X=1." and make a new line starting with "?-". In SublimeREPL there is no dot and the new line doesn't start with anything.
Is there a solution for have the same behavior of the terminal?
Wrong start Prolog in SublimeREPL
554 Views Asked by Chiara Doppiomalto At
1
There are 1 best solutions below
Related Questions in PROLOG
- prolog traverse nonstandard tree left to right
- Constraint not propagated upon instantiation of list members
- SWI Prolog pass a goal with non-zero arity through the command line arguments
- Predicate that pick elements which are on list twice not less not more
- prolog-false is returned instead of a number
- Freezing goal in prolog
- freeze for more than one variable
- Why I can't get an answer for the Ship Puzzle with Prolog?
- Evaluate a number in (a few) natural language
- Prolog binding arguments
- gprolog: Getting a stacktrace after an exception
- Prolog- Returning elements from facts
- run a prolog code with swipl in a command line
- Prolog- singleton variable in branch warning
- Prolog-iterating through list
Related Questions in CHARACTER
- How can I use multiple quotation marks in the system() function?
- Count number of ones in a array of characters
- Find out if Character in String is emoji?
- Convert Character to Int in Swift 2.0
- OCR serial number CRC, check algorithm
- How to order characters in a data frame in R to be numerical?
- Why are the ⟨ and ⟩ characters handled so oddly?
- What is a code point and code space?
- how to extract characters of a language
- Characters arbitrarily being changed
- Can i use the following code or it's incorrect?
- python character set conversion by the compiler
- Count the number of times you can make a given word from the letters of a larger text
- R Creating a Character Column from a Numeric Column w/o using For Loop
- Read lines from file, iterate over each line and each character in that line
Related Questions in NEWLINE
- insert newline in text displayed in span from javascript
- Add new line within textbox and label from code behind c#
- How to print new line in string casts to ByteBuffer
- Word count program in c
- Replace all newlines between "two lines with certain patterns" with a comma in vim
- Word count not working when entering new line
- In javascript, newline character specified via input does not create a newline in alert
- Python: Why are there extra blank lines in the output when using write()?
- Regex Match without new line ^M
- How to delete new-line symbol
- Why doesn't `"hello\r".chomp('')` remove `"\r"`?
- Inserting new line break while writing on PPT using PHPPowerPoint
- Including break line in sed replacement
- Django: show newlines from admin site?
- \r\n translated to \r\r\n in Haskell
Related Questions in SUBLIMEREPL
- Running Groovy in Sublime Text 3
- SublimeREPL Shell
- sublimeREPL for python not showing complete Traceback
- Sublime Text 3 Python REPL Slow print
- Getting sublime Text 3/2 to recognize the custom folders with python files
- how to add packages like numpy,scipy and others to the sublime 2 python?
- Input missing, output on Input line in sublimerepl python
- Viewing object attributes with tab completion in sublimerepl python
- How to use REPL in sublime?
- pprint in clojure sublimeREPL
- How to extend Windows PATH env variable in Sublime Text?
- Wrong start Prolog in SublimeREPL
- Sublime 2 - Python - Passing command line args
- Why doesn't SublimeREPL accept undefined data types? (Issue inputting string)
- How to run Python 3 in Sublime 2 REPL Mac
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I have partial success with Sublime Text 2 running on MacOS X by using the following
Main.sublime-menufile contents:I get the GNU Prolog startup banner and I can type queries and get the query results. But there's an issue that I have not yet solved with the handling of new lines: when typing
;to ask the Prolog interpreter for the next proof, I cannot get the last one. For example:Seems to be a problem handling echo and new lines. The first
;is echoed but then I don't get a chance to type a second;after getting the second solution.