CL解释器的任何语法高亮?

时间:2023-01-17 23:36:35

When invoking 'python' or 'guile' or any other interpreter, I like the read-eval-print interface, but I miss syntax highlighting, paren-matching, and quick navigation like within vim. Are there any programs that provide a more ergonomic interface to shells / interpreters?

当调用'python'或'guile'或任何其他解释器时,我喜欢read-eval-print接口,但我错过了语法高亮,paren-matching和vim内的快速导航。是否有任何程序为贝壳/口译员提供更符合人体工程学的界面?

1 个解决方案

#1


0  

For python have a look at bpython, it supports inline syntax highlighting and parent-matching. OTOH ipython is also quite useful, for example you can just write help $function and it will run help($function) automatically.

对于python来看看bpython,它支持内联语法高亮和父匹配。 OTOH ipython也非常有用,例如你可以编写help $ function,它会自动运行help($ function)。

#1


0  

For python have a look at bpython, it supports inline syntax highlighting and parent-matching. OTOH ipython is also quite useful, for example you can just write help $function and it will run help($function) automatically.

对于python来看看bpython,它支持内联语法高亮和父匹配。 OTOH ipython也非常有用,例如你可以编写help $ function,它会自动运行help($ function)。