-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Tide up contribution page * Change base snippet to be wblock instead of block * Add snippet for main function * Rename winside_block to inside_wblock * Change forin definition * Fix switch case * Write getting started page * move snippet library in separate file and add names to snippet examples * remove under development comment in docs * replaced README.md with README.rst * Add short description and example * Fix bad indent * Add link to documentation * Fix docs link * Changed getting started a bit * Add link to getting started section
- Loading branch information
Showing
11 changed files
with
909 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
######## | ||
Homotopy | ||
######## | ||
|
||
.. image:: https://travis-ci.org/Ahhhhmed/homotopy.svg?branch=master | ||
:target: https://travis-ci.org/Ahhhhmed/homotopy | ||
.. image:: https://readthedocs.org/projects/homotopy/badge/?version=latest | ||
:target: http://homotopy.readthedocs.io/en/latest/?badge=latest | ||
:alt: Documentation Status | ||
.. image:: https://codecov.io/gh/Ahhhhmed/homotopy/branch/master/graph/badge.svg | ||
:target: https://codecov.io/gh/Ahhhhmed/homotopy | ||
|
||
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. | ||
|
||
.. code-block:: text | ||
for#int$i%0%5>printf("Hello, five times."); | ||
.. code-block:: C++ | ||
|
||
for(int i=0; i<5; i++){ | ||
printf("Hello, five times."); | ||
} | ||
|
||
--------------- | ||
Getting started | ||
--------------- | ||
|
||
See `getting started`_ section in documentation. | ||
|
||
.. _getting started: http://homotopy.readthedocs.io/en/latest/getting_started.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.