Skip to main content

Problem with Evaluating Scheme Expressions in Emacs

· 2 min read
Jakub T. Jankiewicz
LIPS maintainer

I was checking the new beta release of LIPS Scheme in GNU Emacs. I was searching for a way to execute an expression in Scheme mode when using the cmuscheme Scheme REPL in the other window. It turned out that it's standard C-x C-e (same as for elisp). The problem is that it displays the prompt multiple times when you execute code that doesn't produce any output.

Internals: Syntax Extensions

· 6 min read
Jakub T. Jankiewicz
LIPS maintainer

Syntax extensions are a feature in LIPS Scheme that allow users to add new syntax. They work similar to readers, macro in Common Lisp. You create a sequence of characters that maps to a function that is executed by the parser, the function works similar to a macro and a result of the function is returned by the parser in place of the sequence of defined characters.