EnglishFrenchSpanish

OnWorks favicon

ptm_img - Online in the Cloud

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

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


styx — A combined parser and scanner generator

SYNOPSIS


styx [-diagnose] [-verbose] [-makeC] [-makeIMG] [-makeINT] [-shortform]
[-BINSTYX=directory] [-GENSTYX=directory] [-SPESTYX=directory] language

stypp [-charset=string] [-wprint] [-prepar=string] [-premac=string] [-prefun=string]
[-Start=string] [-xaron] [-early] [-shiftfun=string] [-reducefun=string]
[-ppfun=string] [-BINSTYX=path] srclang tgtlang filename

stydoc [-StyxPath=path] [-Template=path] [-RefAlias=string] [-recursiv] [-prodcom]
[-keepNTs=string] [-noClass=string] [-exProds=string] [-ignRRef=string]
[-BINSTYX=path] grammarfile outfile

ctoh [-ct] [-force] [-CPATH=path] [-HPATH=path] [-PRJ=path] [-DPATH=path]
[-DROOT=path]

ptm_img [-FileName=path] [-charset=string] [-skipset=string] [-binmode] [-wprint]
[-prepar=string] [-premac=string] [-prefun=string] [-Start=string] [-xaron] [-early]
[-shiftfun=string] [-reducefun=string] [-BINSTYX=path] language image

lim_test [-charset=string] [-binmode] [-wprint] [-prepar=string] [-premac=string]
[-prefun=string] [-tokens] [-symbols] [-BINSTYX=path] language filename

pim_test [-charset=string] [-binmode] [-wprint] [-prepar=string] [-premac=string]
[-prefun=string] [-Start=string] [-xaron] [-early] [-shiftfun=string]
[-reducefun=string] [-tree] [-BINSTYX=path] language filename

DESCRIPTION


This manual page documents briefly the styx, stypp, stydoc, ctoh, lim_test and pim_test
commands. It was written for the Debian GNU/Linux distribution because the original
programs don't have manual pages, but have documentation in HTML format (see below).

styx translates token and syntax descriptions contained in $SPESTYX/language.sty yielding
scanner and parser tables as well as a functional interface to the abstract derivation
tree.

stypp is sort of a ``pretty printer'' for source files written in a styx-defined language.
Furthermore it can be used to port source files, provided source and target languages have
equivalent abstract syntax.

stydoc generates HTML reference documentation for a grammar specified in grammarfile using
a template.

ctoh is used to create header files from C sources generated by styx. It is taken from the
upstream author's own project development environment where source files are written in a
manner allowing interface definitions to be automatically generated.

ptm_img translates a source file specified by the FileName option to a binary image. If
the FileName option is omitted, the image file must exist and the program writes the
derivation tree to stdout.

lim_test uses a scanner image file for language to scan the source in filename writing the
token stream to stdout.

pim_test uses scanner and parser image files for language to parse the source in filename
writing the derivation tree to stdout.

ENVIRONMENT


Upstream authors use non-standard conventions for command-line options and environment
variables, to the effect that the latter are best viewed as options which default to the
value of the identically named environment variable if not specified.

For styx, SPESTYX is the search path for language specifications (language.sty), scanner
and parser image files are located using BINSTYX while the location of generated C code is
determined by GENSTYX.

stypp, stydoc, ptm_img, lim_test and pim_test use BINSTYX to locate scanner and parser
image files language.lim and language.pim.

Use ptm_img online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • 2
    gMKVExtractGUI
    gMKVExtractGUI
    A GUI for mkvextract utility (part of
    MKVToolNix) which incorporates most (if
    not all) functionality of mkvextract and
    mkvinfo utilities. Written in C#NET 4.0,...
    Download gMKVExtractGUI
  • 3
    JasperReports Library
    JasperReports Library
    JasperReports Library is the
    world's most popular open source
    business intelligence and reporting
    engine. It is entirely written in Java
    and it is able to ...
    Download JasperReports Library
  • 4
    Frappe Books
    Frappe Books
    Frappe Books is a free and open source
    desktop book-keeping software that's
    simple and well-designed to be used by
    small businesses and freelancers. It'...
    Download Frappe Books
  • 5
    Numerical Python
    Numerical Python
    NEWS: NumPy 1.11.2 is the last release
    that will be made on sourceforge. Wheels
    for Windows, Mac, and Linux as well as
    archived source distributions can be fou...
    Download Numerical Python
  • 6
    CMU Sphinx
    CMU Sphinx
    CMUSphinx is a speaker-independent large
    vocabulary continuous speech recognizer
    released under BSD style license. It is
    also a collection of open source tools ...
    Download CMU Sphinx
  • More »

Linux commands

Ad