How to configure SublimeRepl to work with chicken scheme?
Asked Answered
F

2

6

Is there anyone who is able to configure Sublime Text 2 and SublimeRepl to work with chicken scheme?

I've got chicken repl in Sublime, but it displays error messages from the chicken scheme only (probably from the stderr output of the csi process), but it doesn't display prompt nor evaluated values.

Any help?

Fy answered 17/8, 2013 at 17:54 Comment(0)
B
3

You need to pass "-:c" flag to csi. (I guessed it from emacs plugin)

So, you have to edit a bit SublimeREPL/config/Scheme/Main.sublime-menu. In my case is in the path (I'm in osx):

~/Library/Application\ Support/Sublime\ Text\ 2/Packages/SublimeREPL/config/Scheme/Main.sublime-menu

The file looks like Main.sublime-menu.

Now you have to edit how the shell is open for scheme. So, go to the line 24 (for osx) and change the line:

"osx": ["scheme"],

by:

"osx": ["csi", "-:c"],

If you are in linux or windows, the fix is the same but, you have to edit line 23 or 25.

If you don't use "-:c" flag you will experiment the problem that you are talking about

Baby answered 29/8, 2013 at 22:25 Comment(0)
P
0

The accepted answer is completely correct, but it is kind of annoying. I forked SublimeREPL with the necessary changes to save others the trouble. You can clone it to your Packages directory and you're done.

https://github.com/mnewt/SublimeREPL

Pilsen answered 25/9, 2017 at 1:49 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.