EnglishFrenchSpanish

OnWorks favicon

pyacc-3.0.0 - Online in the Cloud

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

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


pyacc - Pascal Yacc compiler compiler.

USAGE


yacc [options] yacc-file[.y] [output-file[.pas]]

SH OPTIONS

-v Verbose: Pascal Yacc generates a readable description of the generated parser,
written to yacc-file with new extension .lst.

-d Debug: TP Yacc generates a parser with debugging output.

DESCRIPTION


TP Yacc is a program that lets you prepare parsers from the description of input languages
by BNF-like grammars. You simply specify the grammar for your target language, augmented
with the Turbo Pascal code necessary to process the syntactic constructs, and TP Yacc
translates your grammar into the Turbo Pascal code for a corresponding parser subroutine
named yyparse.

TP Yacc parses the source grammar contained in yacc-file (with default suffix .y) and
writes the constructed parser subroutine to the specified output-file (with default suffix
.pas); if no output file is specified, output goes to yacc-file with new suffix .pas. If
any errors are found during compilation, error messages are written to the list file
(yacc-file with new suffix .lst).

The generated parser routine, yyparse, is declared as:

function yyparse : Integer;

This routine may be called by your main program to execute the parser. The return value
of the yyparse routine denotes success or failure of the parser (possible return values: 0
= success, 1 = unrecoverable syntax error or parse stack overflow).

Similar to TP Lex, the code template for the yyparse routine may be found in the
yyparse.cod file. The rules for locating this file are analogous to those of TP Lex (see
Section `TP Lex').

The TP Yacc library (YaccLib) unit is required by programs using Yacc- generated parsers;
you will therefore have to put an appropriate uses clause into your program or unit that
contains the parser routine. The YaccLib unit also provides some routines which may be
used to control the actions of the parser. See the file yacclib.pas for further
information.

More information


For more information, see the documentation that comes with TP lex and yacc.

Use pyacc-3.0.0 online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

  • 1
    abcde
    abcde
    abcde - Grab an entire CD and compress
    it to Ogg/Vorbis, MP3, FLAC, Ogg/Speex,
    AAC, WavPack, Monkey's Audio (ape),
    MPP/MP+(Musepack), True Audio (tta)
    and/or M...
    Run abcde
  • 2
    abcm2ps
    abcm2ps
    abcm2ps � translate ABC music notation
    to PostScript ...
    Run abcm2ps
  • 3
    create_common
    create_common
    ctn_manpage - Generic CTN manual page
    DESCRIPTION: This is a generic manual
    package for a CTN program. All CTN
    programs will give their brief usage
    synopsis wh...
    Run create_common
  • 4
    create_compressed_fs
    create_compressed_fs
    create_compressed_fs,
    extract_compressed_fs - convert and
    extract a filesystem to/from a cloop
    volume ...
    Run create_compressed_fs
  • 5
    gap4
    gap4
    gap4 - Genome Assembly Program (part of
    staden package) ...
    Run gap4
  • 6
    gap5
    gap5
    gap5 - Genome Assembly Program (part of
    staden package) ...
    Run gap5
  • More »

Ad