www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Prettify and Resync are now open source too

reply Ecstatic Coder <ecstatic.coder gmail.com> writes:
I have released a few other tools on Github under the GNU GPL, 
including :

* Resync : a local folder synchronizer.
* Prettify : a source code prettifier for D and other languages.

https://github.com/senselogic

I don't know if some of you will be interested in them, but here 
they are...
May 19
next sibling parent reply aberba <karabutaworld gmail.com> writes:
On Friday, 19 May 2017 at 16:22:36 UTC, Ecstatic Coder wrote:
 I have released a few other tools on Github under the GNU GPL, 
 including :

 * Resync : a local folder synchronizer.
 * Prettify : a source code prettifier for D and other languages.

 https://github.com/senselogic

 I don't know if some of you will be interested in them, but 
 here they are...
Remote folder sync will be awesome for code back up
May 19
parent Ecstatic Coder <ecstatic.coder gmail.com> writes:
On Friday, 19 May 2017 at 22:46:07 UTC, aberba wrote:
 On Friday, 19 May 2017 at 16:22:36 UTC, Ecstatic Coder wrote:
 I have released a few other tools on Github under the GNU GPL, 
 including :

 * Resync : a local folder synchronizer.
 * Prettify : a source code prettifier for D and other 
 languages.

 https://github.com/senselogic

 I don't know if some of you will be interested in them, but 
 here they are...
Remote folder sync will be awesome for code back up
Resync is optimized to do very fast backups on any local drive, including remote drives mounted as local drives. But of course there isn't any form of compression when copying files, like in Rsync.
May 25
prev sibling parent reply Bastiaan Veelo <Bastiaan Veelo.net> writes:
On Friday, 19 May 2017 at 16:22:36 UTC, Ecstatic Coder wrote:
 * Prettify : a source code prettifier for D and other languages.
Can you tell something about in what ways D code is prettified? How does it compare to dfmt? Thanks.
May 20
next sibling parent Ecstatic Coder <ecstatic.coder gmail.com> writes:
On Saturday, 20 May 2017 at 15:38:04 UTC, Bastiaan Veelo wrote:
 On Friday, 19 May 2017 at 16:22:36 UTC, Ecstatic Coder wrote:
 * Prettify : a source code prettifier for D and other 
 languages.
Can you tell something about in what ways D code is prettified? How does it compare to dfmt? Thanks.
The main difference is that it applies its own set of strict coding standard rules for PHP/HTML, JavaScript, CSS, C, C++ and D. So it's basically a multi-language alternative to dfmt, which presents the prettified code a little differently (spaces, indentations, alignments, etc).
May 20
prev sibling parent Ecstatic Coder <ecstatic.coder gmail.com> writes:
To see how the prettified looks like, the easiest way is to have 
a look at any D source code file on the SenseLogic github account 
(https://github.com/senselogic/).

All of them have had their spacings, indentations and alignments 
automatically standardized by Prettify.

Basically, it's just Allman style code with leading operators in 
hierarchical expressions and four spaces per level of 
indentation, so nothing fancy...

Of course, the code style and readability are also a matter of 
taste, so it's up to you to decide if you think that the code has 
been prettified or "uglified" ;)
May 20