homotopy

Homotopy snippet engine


Keywords
compiler, snippets
License
MIT
Install
pip install homotopy==0.2.a1

Documentation

Homotopy

https://travis-ci.org/Ahhhhmed/homotopy.svg?branch=master Documentation Status

Homotopy is a snippet compiler. Instead of expanding and filling the blanks it lets you finish your thought and get the result you are expecting.

Write that complex thought in one line and let Homotopy take care of parentheses, formatting, indent and all that boring stuff.

for#int$i%0%5>printf("Hello, five times.");
for(int i=0; i<5; i++){
     printf("Hello, five times.");
}

Install

pip install homotopy

Plugins

This tool is intended to be used inside an editor. Currently only Atom plugin is implemented.

See making a plugin if you want to create a plugin.

Getting started

See getting started section in documentation.