Skip to content

Quick start: Racket (stdio)

Oliver Caldwell edited this page May 15, 2021 · 6 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. Install the vim-racket plugin for racket filetype support.

  3. Install the Conjure plugin.

  4. Install Racket.

  5. 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".