Hosted by the courtesy of  
 GitHub 
The stars ASAP english francais spanish arab
Durée du voyage intersidéral francais
Résolutions de l'ONU en HTML francais
Bussard Ramjet english francais
DWARF : dwarf2xml english
ELF : libelf examples english
Code presentation : ctoohtml english

GNU gnu-head ORG PERL perl org ORG
ctags
machinman
The stars ASAP


LANG=C presentation tool,

ctoohtml

  convert c to html,
since 1995





Early versions of this software from, Andrew H. Fagg  were released around 1995. At this time, it was already able to produce usage-to-definition links and definitions lists. This feature was achieved with simple perl scripts and an external software, ctags.

Important note :
At that time, Andrew, was a code addict. A terrible disease that is still ravaging many, especially among computer science students. When I asked him on what he thinks now about what he have done at this time he told me that :

"ctoohtml was born in the bowels of the Hedco
Neuroscience Building at the University of Southern California
 at a time when Andrew Fagg should have instead been working on his dissertation.".

Listen to the advice of a repented. If I can also give an advice, I would say, keep away from Perl, its the worst.

There is now plenty of code source presentation tools for C/C++, and it was time for ctoohtml to have a new release that provides some y2k features :







new
new
new
new
  •    code source colourization,
  •    caller reference list
  •    up to date CLI interface
  •    0 install process
  •  
  •  
  •  




  •    index file list
  •    references sorted
  •    page customization
  •    a lot of links
  •  
  •  
  •  






As an example, you can quikly obtain this result presented with rings code demo with this shell command :
./ctoohtml -v1 \
-u"../index.html" -U "To rings Doc++"\
-O "Emmanuel Azencot" \
-P "Ring containers source code" \
-B'Hosted by the courtesy of &nbsp; <a href="http://www.espace-gratuit.org/" target="_blank" title="Hebergeur Gratuit"><img src="http://www.espace-gratuit.org/pub/espace-gratuit.org_userbar.gif" alt="Hebergeur Gratuit" border="0" height="20" width="350"></a>' \
-d doc++/html \
*.c *.h excp/*.[ch]
To quickly obtain a resulkt on your own code, just download the script :
wget http://machinman.net/code/ctoohtml/ctoohtml
chmod a+x
./ctoohtml
in your working directory and run :

./ctoohtml -v1 $(find . -name '*.[ch]')
That it ! Enjoy browsing in ./htm directory.

Later you can move it to /usr/bin to make it system width. You can also download an little tar.gz that will install for you the man page and the script.


License Manual
Download

History


Others products in the same area :




machinman, Wed Nov 18 23:22:42 CET 2009

Hosted by the courtesy of  
 GitHub 
The stars ASAP english francais spanish
Durée du voyage intersidéral francais
Résolutions de l'ONU en HTML francais
Bussard Ramjet english francais
DWARF : dwarf2xml english
ELF : libelf examples english
Code presentation : ctoohtml english