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

Project details


Download files

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

Source Distribution

sexpy-0.2.tar.gz (11.4 kB view hashes)

Uploaded Source

Supported by

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