EnglishFrenchSpanish

Ad


OnWorks favicon

gnatpp - Online in the Cloud

Run gnatpp in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gnatpp that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


gnatpp - Ada pretty-printer

SYNOPSIS


gnatpp [options] {filename | -files filename} [gcc_switches]

DESCRIPTION


gnatpp recreates the source text of the specified Ada units from GNAT's parse tree. Along
the way, it reformats the source text according to the many options. The defaults are
suitable for the GNAT style guide.

OPTIONS


-A(0|1|2|3|4|5)
set alignment, all the alignments are set ON by default

0 set the default for all the alignments OFF

1 align colons in declarations

2 align assignments in declarations

3 align assignments in assignment statements

4 align arrow delimiters in associations

5 align 'AT' keywords in component clauses

-a(L|U|M)
set attribute casing

L lower case

U upper case

M mixed case (set as default)

-c(0|1|2|3|4)
comments layout

0 do not format comments

1 GNAT style comment line indentation (set as default)

2 standard comment line indentation

3 GNAT style comment beginning

4 reformat comment blocks

-clnnn indentation level for continuation lines, nnn from 1 .. 9

-Dfile set file as the dictionary file defining casing exceptions

-D- do not use RM95-defined casing for predefined names, use casing defined by -n
parameter and dictionary file(s) instead

-e do not set missed end/exit labels

-ff put Form Feed after a pragma Page

-gnatecpath
the same as GNAT -gnatec option

-innn indentation level, nnn from 1 .. 9, the default value is 3

-Idir the same as GNAT -I option

-I- the same as GNAT -I- option

-k(L|U)
set keyword casing

L lower case (set as default)

U upper case

-l(1|2|3)
set construct layout

1 GNAT style layout (set as default)

2 compact layout

3 uncompact layout

-Mnnn set maximum line length, nnn from 32 .. 256, the default value is 79

-n(D|U|L|M)
set name casing (for both defining and usage occurrences)

D as declared (set as default)

U all in upper case

L all in lower case

M mixed

-N no tabulation in comments

-p(L|U|M)

L lower case

U upper case

M mixed case (set as default)

--RTS=dir
the same as GNAT --RTS option

-Tnnn do not use additional indentation level for case alternatives and variants if their
number is nnn or more (the default value is 10)

-q quiet mode

-v verbose mode

-dd progress indicator verbose mode

-w warnings ON

Output file control
-pipe send the output into stdout

-o output_file
write the output into output_file. Give up if output_file already exists

-of output_file
write the output into output_file, overriding the existing file

-r replace the argument source with the pretty-printed source and copy the argument
source into filename.npp. Give up if filename.npp already exists.

-rf replace the argument source with the pretty-printed source and copy the argument
source into filename.npp, overriding the existing file

-rnb replace the argument source with the pretty-printed source and do not create the
back-up copy of the argument source

Input files
filename
the name of the Ada source file to be reformatted. Wildcards are allowed.

-files filename
the name of the text file containing a list of Ada source files to reformat

GCC switches
gcc_switches
Passed to gnatgcc as "-cargs gcc_switches".

Use gnatpp online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    OrangeFox
    OrangeFox
    Fork of TeamWinRecoveryProject(TWRP)
    with many additional functions, redesign
    and more Features:Supports Treble and
    non-Treble ROMsUp-to-date Oreo kernel,
    built...
    Download OrangeFox
  • 2
    itop - ITSM  CMDB OpenSource
    itop - ITSM CMDB OpenSource
    IT Operations Portal: a complete open
    source, ITIL, web based service
    management tool including a fully
    customizable CMDB, a helpdesk system and
    a document man...
    Download itop - ITSM CMDB OpenSource
  • 3
    Clementine
    Clementine
    Clementine is a multi-platform music
    player and library organizer inspired by
    Amarok 1.4. It has a fast and
    easy-to-use interface, and allows you to
    search and ...
    Download Clementine
  • 4
    XISMuS
    XISMuS
    ATTENTION: Cumulative update 2.4.3 has
    been released!! The update works for any
    previous 2.x.x version. If upgrading
    from version v1.x.x, please download and
    i...
    Download XISMuS
  • 5
    facetracknoir
    facetracknoir
    Modular headtracking program that
    supports multiple face-trackers, filters
    and game-protocols. Among the trackers
    are the SM FaceAPI, AIC Inertial Head
    Tracker ...
    Download facetracknoir
  • 6
    PHP QR Code
    PHP QR Code
    PHP QR Code is open source (LGPL)
    library for generating QR Code,
    2-dimensional barcode. Based on
    libqrencode C library, provides API for
    creating QR Code barc...
    Download PHP QR Code
  • 7
    Cuckoo Sandbox
    Cuckoo Sandbox
    Cuckoo Sandbox uses components to
    monitor the behavior of malware in a
    Sandbox environment; isolated from the
    rest of the system. It offers automated
    analysis o...
    Download Cuckoo Sandbox
  • More »

Linux commands

  • 1
    acl_gran
    acl_gran
    rsbac-admin - Rule Set Based Access
    Control DESCRIPTION: rsbac-admin is a
    set of tool used to manage systems using
    a Rule Set Based Access Control (RSBAC)
    kern...
    Run acl_gran
  • 2
    acl_grant
    acl_grant
    rsbac-admin - Rule Set Based Access
    Control DESCRIPTION: rsbac-admin is a
    set of tool used to manage systems using
    a Rule Set Based Access Control (RSBAC)
    kern...
    Run acl_grant
  • 3
    cpupower-idle-set
    cpupower-idle-set
    cpupower idle-set - Utility to set cpu
    idle state specific kernel options
    SYNTAX: cpupower [ -c cpulist ]
    idle-info [options] DESCRIPTION: The
    cpupower idle-se...
    Run cpupower-idle-set
  • 4
    cpupower-info
    cpupower-info
    cpupower-info - Shows processor power
    related kernel or hardware
    configurations ...
    Run cpupower-info
  • 5
    g15daemon
    g15daemon
    g15daemon - provides access to extra
    keys and the LCD available on the
    logitech G15 keyboard. DESCRIPTION:
    G15Daemon allows users access to all
    extra keys by d...
    Run g15daemon
  • 6
    g15ladi
    g15ladi
    laditools - tools to control and
    monitor LADI (JACK and ladish) systems ...
    Run g15ladi
  • More »

Ad