Cloak 1.0
Sponsored Links
Cloak 1.0 Ranking & Summary
File size:
0.009 MB
Platform:
Any Platform
License:
GPL (GNU General Public License)
Price:
Downloads:
1120
Date added:
2006-10-04
Publisher:
Rob Hoelz
Cloak 1.0 description
Cloak (Kind of short for comment locator) is a programming tool written in Ruby that I started as a project to familiarize myself with the Ruby programming language. Now its grown into a full-blown tool that I think many programmers can benefit from. Cloak reads in your source code and extracts the comments. It then stores them in a SQLite database so you can list all the comments for a particular file, or search all the comments in the database. If you happen to update a file and then want to list its comments, Cloak will automatically synchronize it for you and then perform the desired operation.
You might be thinking, "Why would I want to keep track of all my comments, of all things?" Well, I dont know about you, but I love to leave notes to myself in source code comments. And if you were thinking that Cloak would still make you wade through your comments after it spits them out, think again; Cloak allows you to provide a Ruby method to filter what comments are and are not included in the database, as well as a method to modify the comments before they are put in the database. So if youre a C programmer and you write notes to yourself in the form of all upper case comments, but you want to prefix all such comments with an exclamation point before they go in the database, youd put something like this in your .cloak_conf.rb:
def keep_comment?(comment)
return comment !~ /[a-z];
end
def modify_comment(comment)
return "!" + comment
end
That way the comment
/* URGENT MESSAGE */
becomes
!/* URGENT MESSAGE */
and all comments not matching your criteria are not included in the database.
Although only a few languages are supported right now (see the list below), Cloak is easily extensible: just write a Ruby script to extract the comments from a source file, and drop it into the extractors/ subdirectory; Cloak will take care of the rest.
Currently supported languages:
C
C++
Java
C#
You might be thinking, "Why would I want to keep track of all my comments, of all things?" Well, I dont know about you, but I love to leave notes to myself in source code comments. And if you were thinking that Cloak would still make you wade through your comments after it spits them out, think again; Cloak allows you to provide a Ruby method to filter what comments are and are not included in the database, as well as a method to modify the comments before they are put in the database. So if youre a C programmer and you write notes to yourself in the form of all upper case comments, but you want to prefix all such comments with an exclamation point before they go in the database, youd put something like this in your .cloak_conf.rb:
def keep_comment?(comment)
return comment !~ /[a-z];
end
def modify_comment(comment)
return "!" + comment
end
That way the comment
/* URGENT MESSAGE */
becomes
!/* URGENT MESSAGE */
and all comments not matching your criteria are not included in the database.
Although only a few languages are supported right now (see the list below), Cloak is easily extensible: just write a Ruby script to extract the comments from a source file, and drop it into the extractors/ subdirectory; Cloak will take care of the rest.
Currently supported languages:
C
C++
Java
C#
Cloak 1.0 Screenshot
Cloak 1.0 Keywords
Cloak 1.0
to familiarize myself
Ruby Programming Language
to familiarize
Written in
ruby programming
Programming tool
programming language
familiarize myself
cloak
comments
ruby
comment
programming
database
Cloak 1.0
Bookmark Cloak 1.0
Cloak 1.0 Copyright
WareSeeker periodically updates pricing and software information of Cloak 1.0 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Cloak 1.0 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
comments myspace
myspace comments
my hot comments
programming languages
comments for myspace
hide comments
c programming language
comments box
hot free comments
funny myspace comments
happy birthday comments
history of ruby programming language
garmin astro 220 comments
comments in scroll box
funny comments
zwani comments
assembly language programming
hide comments myspace
Version History
Related Software
Bake is a small domain specific programming language for describing how to transform one file into another. Free Download
APLoader stands for Another Postgres Loader, is a front-end to the Postgresql COPY command written in Ruby. Free Download
RMagick is an interface between the Ruby programming language and the ImageMagick and GraphicsMagick image processing libraries. Free Download
C is pronounced large-C and is a pseudo-interpreter of the C programming language. Free Download
Cerise is a Ruby web/application server. Free Download
DL/SQL is a declarative programming language based on top of a SQL database. Free Download
GNU Cim is a compiler for the programming language Simula. Free Download
BlackAdder is an IDE that allows professional and hobbyist programmers alike to produce complex applications. Free Download
Latest Software
Popular Software
Favourite Software