Skip to content

rnvannatta/readlisp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vanity Readlisp

Readlisp is a Linux utility that provides line editing and history for Scheme REPLs. It was written because I found myself avoiding using ' for quote with when using Vanity Scheme's REPL.

Compared to GNU Readline + rlwrap, it correctly matches parentheses for Scheme expressions, that is these inputs are considered unbalanced by rlwrap but balanced by readlisp.

> (display 'Hello)
> (display #\))
> (display (quote |)|))

Also, it initially refuses to submit unbalanced inputs, though this can be overridden by hitting enter twice. The refusal to submit will in future be replaced with a multiline editor.

Installing

make
sudo make install

Usage

readlisp <command> <args> ...

TODO

  • Pesudoterminal
  • Readlisp as a Library
  • Capture stdout and stderr from child
  • Child Prompt Sequences
  • SIGWINCH handling
  • Multiline Editing
  • Paste Sequences

About

Line Editing for Scheme REPLS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors