Skip to content

Quick start: Racket (stdio)

Oliver Caldwell edited this page May 15, 2021 · 7 revisions

Racket is a general-purpose, multi-paradigm programming language based on the Scheme dialect of Lisp. It is designed to be a platform for programming language design and implementation.

Conjure starts a Racket REPL within Neovim when you first open a Racket file.

You should be able to evaluate files and forms as you would with other Conjure supported languages right away.

Prerequisites

  1. Install the latest Neovim.

  2. Ensure your Neovim supports the racket filetype. You may need to find a plugin for this!

  3. Install the Conjure plugin.

  4. Install the vim-racket plugin.

  5. Install Racket.

  6. Ensure you have XREPL by running ,? in a racket REPL.

Open and edit!

You should now be able to open any .rkt file and evaluate as you would normally.

If you’re unsure how to evaluate things with Conjure, please refer to :help conjure, :help conjure-client-racket-stdio and :ConjureSchool (an interactive tutorial).

Changing the language

If you need to use a different language or command line options with Racket you can override the g:conjure#client#racket#stdio#command option which defaults to "racket".