Skip to main content

S-expression syntax for Python

Project description

Created just in order to have some se^Wfun.

A little code snippet so that you can get the overall idea:

(class (Hello)
    (def (__init__ self message)
        (= self.message message))
    (def (hello self)
        (print self.message)))

(= hello (Hello "Hello world!"))
(hello.hello)

This version requires Python 3. Use version 0.1 if you need Python 2 support.

Documentation: http://packages.python.org/sexpy

Mercurial repository: https://bitbucket.org/ero-sennin/sexpy

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page