EnglishFrenchSpanish

OnWorks favicon

yappp - Online in the Cloud

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

This is the command yappp 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


yapp - A perl frontend to the Parse::Yapp module

SYNOPSYS


yapp [options] grammar[.yp]

yapp -V

yapp -h

DESCRIPTION


yapp is a frontend to the Parse::Yapp module, which lets you compile Parse::Yapp grammar
input files into Perl LALR(1) OO parser modules.

OPTIONS


Options, as of today, are all optionals :-)

-v Creates a file grammar.output describing your parser. It will show you a summary of
conflicts, rules, the DFA (Deterministic Finite Automaton) states and overall usage of
the parser.

-s Create a standalone module in which the driver is included. Note that if you have
more than one parser module called from a program, to have it standalone, you need
this option only for one of your parser module.

-n Disable source file line numbering embedded in your parser module. I don't know why
one should need it, but it's there.

-m module
Gives your parser module the package name (or name space or module name or class name
or whatever-you-call-it) of module. It defaults to grammar

-o outfile
The compiled output file will be named outfile for your parser module. It defaults to
grammar.pm or, if you specified the option -m A::Module::Name (see below), to Name.pm.

-t filename
The -t filename option allows you to specify a file which should be used as template
for generating the parser output. The default is to use the internal template defined
in Parse::Yapp::Output.pm. For how to write your own template and which substitutions
are available, have a look to the module Parse::Yapp::Output.pm : it should be
obvious.

-b shebang
If you work on systems that understand so called shebangs, and your generated parser
is directly an executable script, you can specifie one with the -b option, ie:

yapp -b '/usr/local/bin/perl -w' -o myscript.pl myscript.yp

This will output a file called myscript.pl whose very first line is:

#!/usr/local/bin/perl -w

The argument is mandatory, but if you specify an empty string, the value of
$Config{perlpath} will be used instead.

grammar
The input grammar file. If no suffix is given, and the file does not exists, an
attempt to open the file with a suffix of .yp is tried before exiting.

-V Display current version of Parse::Yapp and gracefully exits.

-h Display the usage screen.

Use yappp online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Image Downloader
    Image Downloader
    Crawl and download images using
    Selenium Using python3 and PyQt5.
    Supported Search Engine: Google, Bing,
    Baidu. Keywords input from the keyboard
    or input from ...
    Download Image Downloader
  • 2
    Eclipse Tomcat Plugin
    Eclipse Tomcat Plugin
    The Eclipse Tomcat Plugin provides
    simple integration of a tomcat servlet
    container for the development of java
    web applications. You can join us for
    discussio...
    Download Eclipse Tomcat Plugin
  • 3
    WebTorrent Desktop
    WebTorrent Desktop
    WebTorrent Desktop is for streaming
    torrents on Mac, Windows or Linux. It
    connects to both BitTorrent and
    WebTorrent peers. Now there's no
    need to wait for...
    Download WebTorrent Desktop
  • 4
    GenX
    GenX
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 5
    pspp4windows
    pspp4windows
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 6
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • More »

Linux commands

Ad