Speca is a code generator
=========================

Speca create templates as described in specification files.

Specification files are in reStructuredText format, can be found in examples folder.

**For now speca only generates code in Erlang.**


Installing
----------

Install from github via pip (recommended method)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    $ pip install -e git://github.com/selead/speca.git#egg=speca


Install from source 
~~~~~~~~~~~~~~~~~~~

1. Download tarball:
 
    $ wget http://github.com/selead/speca/tarball/master -O speca.tar.gz

or

    $ curl -L http://github.com/selead/speca/tarball/master --O speca.tar.gz

2. Install 
   
   $ easy_install "speca.tar.gz"


Install from python index
~~~~~~~~~~~~~~~~~~~~~~~~~
    $ easy_install speca

or

    $ pip install speca



Using speca
-----------

    $ speca gen specification.rst


For example of specification file see examples folder in source.

 
