Skip to content

Quick start: Hy (stdio)

Oliver Caldwell edited this page Feb 25, 2021 · 2 revisions

Hy is a Lisp dialect that’s embedded in Python. Since Hy transforms its Lisp code into Python abstract syntax tree (AST) objects, you have the whole beautiful world of Python at your fingertips, in Lisp form.

Conjure starts a Hy REPL within Neovim when you first open a Hy 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 hy filetype. You may need to find a plugin for this!

  3. Install the Conjure plugin.

  4. Install Hy.

Open and edit!

You should now be able to open any .hy 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-hy-stdio and :ConjureSchool (an interactive tutorial).