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



styx — A combined parser and scanner generator


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]

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


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

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.


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
    Firebird RDBMS offers ANSI SQL features
    & runs on Linux, Windows &
    several Unix platforms. Features
    excellent concurrency & performance
    & power...
    Download Firebird
  • 2
    KompoZer is a wysiwyg HTML editor using
    the Mozilla Composer codebase. As
    Nvu's development has been stopped
    in 2005, KompoZer fixes many bugs and
    adds a f...
    Download KompoZer
  • 3
    Free Manga Downloader
    Free Manga Downloader
    The Free Manga Downloader (FMD) is an
    open source application written in
    Object-Pascal for managing and
    downloading manga from various websites.
    This is a mirr...
    Download Free Manga Downloader
  • 4
    UNetbootin allows you to create bootable
    Live USB drives for Ubuntu, Fedora, and
    other Linux distributions without
    burning a CD. It runs on Windows, Linux,
    and ...
    Download UNetbootin
  • 5
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM is an easy to use
    ERP and CRM open source software package
    (run with a web php server or as
    standalone software) for businesses,
    Download Dolibarr ERP - CRM
  • 6
    SQuirreL SQL Client
    SQuirreL SQL Client
    SQuirreL SQL Client is a graphical SQL
    client written in Java that will allow
    you to view the structure of a JDBC
    compliant database, browse the data in
    Download SQuirreL SQL Client
  • More »

Linux commands