Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Emacs Lisp parser

Project Description

A simple package to parse Emacs Lisp expressions from Python.

Simple Usage

>>> import elisp
>>> numbers = elisp.loads("(1 2 3)")
>>> numbers.cdr.cdr.cdr is elisp.NIL

Type Mappings

The following types are supported and are mapped to the respective Python types.

  • integer to int
  • float to float
  • symbol to elisp.ELispSymbol, a subclass of str
  • list, cons to elisp.ELispCons
  • unibyte string to bytearray
  • multibyte string to unicode (without the \C-a syntax)
  • vector to list

Unsupported Types

The following types are not supported:

  • Characters (like ?a or ?\C-f)
  • Char-Table
  • Bool-Vector
  • Hash Table
  • Byte-Code


See the file [elisp.ebnf](elisp/elisp.ebnf) for the grammar used by this package.

Release History

This version
History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(6.7 kB) Copy SHA256 Hash SHA256
Wheel 2.7 Jun 27, 2014
(7.1 kB) Copy SHA256 Hash SHA256
Source None Jun 27, 2014

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers