GithubHelp home page GithubHelp logo

alb42 / pas2dox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from msakuta/pas2dox

0.0 0.0 0.0 156 KB

Private fork of pas2dox project by Darren Bowles for bug fixes

License: GNU General Public License v2.0

Shell 2.82% C++ 8.46% Perl 68.37% Pascal 20.34%

pas2dox's Introduction

Pas2Dox Version 0.50rc1
--------------------

Please read INSTALL for compilation instructions.

The latest version of pas2dox can be obtained at
  http://pas2dox.sourceforge.net

There is a developers mailing list at
  [email protected]

Please follow the link in
  http://sourceforge.net/projects/pas2dox

to subscribe to the list, or to visit the archives.

Usage Guide
-----------
This guide assumes that your Doxygen configuration file is called Doxyfile.
Please visit www.doxygen.org for Doxygen configuration information.

Here is a sample Doxyfile for Win32 that processes all .pas files in the
current directory.

INPUT = .
FILE_PATTERNS = *.pas
INPUT_FILTER = c:\pas2dox\pas2dox.exe
FILTER_SOURCE_FILES = YES

If you are running on linux, adjust the INPUT_FILTER accordingly, for example
INPUT_FILTER = /usr/local/bin/pas2dox

-d Debug Option
---------------
If you need to debug, for example if output isn't generated as you expect,
you can use the -d command line option, as follows :

pas2dox -d filename.pas > filename.cpp

-s Suppress \sa auto commenting
-------------------------------
To stop pas2dox generating \sa comments for property statements, use this option.

-j JavaDoc Option
-----------------
This option enabled processing of JavaDoc commenting style.
{** would be converted to /***, but with -j option enabled is converted to /**

-b Convert function body to c++
-------------------------------
This is an experimental option for converting function body source code from pascal to c++.
It should be used in association with -k

-o Output Option
----------------
If you need to create .cpp files, you can ether use :

pas2dox filename.pas > filename.cpp

or, the new -o output option :
pas2dox -o filename.pas will send output to filename.cpp

-k Don't comment out function body
----------------------------------
To avoid Doxygen getting confused over pascal source code in the body of a function,
pas2dox comments this out by default, using a DOXYGEN_SKIP pre-processor option.  This
functionality is disabled by use of this option.


Compiler definitions are now handled in pas2dox.  

Example :  If you have code such as

{$ifdef INTERNAL}
/// Here is some internal documentation
{$else}
/// Here is some external documentation
{$endif}

Documentation can then be generated for INTERNAL use, by setting the following
in your Doxyfile

PREDEFINED = INTERNAL

Ta,
Darren Bowles ([email protected]) (15th November 2003)

pas2dox's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.