EnglishFrenchSpanish

OnWorks favicon

ctoh - Online in the Cloud

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

This is the command ctoh 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 ctoh online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    oStorybook
    oStorybook
    oStorybook l'outil privil�gi� des
    �crivains. ATTENTION : voir sur
    http://ostorybook.tuxfamily.org/v5/
    --en_EN oStorybook the right tool for
    writers. WARNIN...
    Download oStorybook
  • 2
    Asuswrt-Merlin
    Asuswrt-Merlin
    Asuswrt-Merlin is a third party
    firmware for select Asus wireless
    routers. Based on the Asuswrt firmware
    developed by Asus, it brings tweaks, new
    features and ...
    Download Asuswrt-Merlin
  • 3
    Atom
    Atom
    Atom is a text editor that's
    modern, approachable and full-featured.
    It's also easily customizable- you
    can customize it to do anything and be
    able to ...
    Download Atom
  • 4
    Osu!
    Osu!
    Osu! is a simple rhythm game with a well
    thought out learning curve for players
    of all skill levels. One of the great
    aspects of Osu! is that it is
    community-dr...
    Download Osu!
  • 5
    LIBPNG: PNG reference library
    LIBPNG: PNG reference library
    Reference library for supporting the
    Portable Network Graphics (PNG) format.
    Audience: Developers. Programming
    Language: C. This is an application that
    can also...
    Download LIBPNG: PNG reference library
  • 6
    Metal detector based on  RP2040
    Metal detector based on RP2040
    Based on Raspberry Pi Pico board, this
    metal detector is included in pulse
    induction metal detectors category, with
    well known advantages and disadvantages.
    RP...
    Download Metal detector based on RP2040
  • More »

Linux commands

Ad