Skip to content

swadey/LispREPL.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LispREPL.jl: A REPL for LispSyntax.jl

Join the chat at https://gitter.im/swadey/Lisp.jl Build Status

This package provides REPL functionality with Lisp syntax on top of julia. This is really Michael Hatherly's contribution factored out of LispSyntax.jl.

Usage

The lisp REPL mode is entered using the ) key in a same way as other REPL modes such as help (?) and shell (;). Unlike those modes the lisp mode is "sticky". After pressing return to evaluate the current line the mode will not switch back to the julia> mode, but instead will remain in lisp mode. To return to Julia mode press backspace.

Customization

The lisp mode prompt text and color may be set via your ENV settings. For example adding the following to your .juliarc.jl:

ENV["LISP_PROMPT_TEXT"]  = "λ "
ENV["LISP_PROMPT_COLOR"] = "red"

will set the prompt for lisp mode to a red lambda.

About

REPL for LispSyntax.jl

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages