Skip to content

man SMK

tajmone edited this page Feb 5, 2022 · 2 revisions

smk(1) — man page

ℹ️

This document was converted from man page format to AsciiDoc by Tristano Ajmone using pandoc on the original “smk.1” file from the source repository.

Styles and formatting were adjusted according to need, but the original contents were left unaltered.

⚠️

The company SoftLab AB (Sweden) mentioned in this document no longer exists, it was sold in the late 90s.

Any reference to the softlab.se web domain found in this document is unrelated to the SoftLab Rising company using the softlab.se domain today.

If you have any questions regarding this software, please open an Issue on the upstream repository.

NAME

smk — ScannerMaker, generate lexical analysers

SYNOPSIS

smk [-help] [<option> …​] <file>

DESCRIPTION

smk is a scanner generator similar to lex but with many more options and generates scanners with much higher performance. The performance is even better than a scanner generated by flex version 2.6.

Input is a description file with the tokens to be recognized, semantic actions etc. and output is generated source files ready for compilation.

ScannerMaker is well integrated with the other components of the ToolMaker package.

ARGUMENTS

file

The name of the ScannerMaker description file. Default extension is .smk.

OPTIONS

-help

Gives a brief help on the arguments and options to the smk program. For detailed information about options refer to the ScannerMaker Reference Manual.

FILES

<file>.tmk

The ToolMaker Common Description file. Contains common definitions for all the Makers in the ToolMaker package. <file> is the name of the description file with any .smk extension removed.

<file>.voc

The vocabulary file used by smk. <file> is the name of the description file with any .smk extension removed.

<file>.sml

The list file produced by smk. <file> is the name of the description file with any .smk extension removed.

<file>.smt

The intermediate tables produced used by smk. <file> is the name of the description file with any .smk extension removed.

SEE ALSO

pmk(1L), lmk(1L), toolmake(1L), imp(1L)
ScannerMaker Reference Manual (part of the ToolMaker Reference Manual)

BUGS

Please contact SoftLab about bugs and enhancements.

AUTHOR

Email to: tools@softlab.se

NOTES

These manual pages corresponds to ToolMaker version 2.1.

Copyright © 1989–1995, SoftLab ab.

Clone this wiki locally