lim_test Scanner test program


'lim_test' scans the given source file and lists the tokens on stdout. The source file must be conform with the language parameter. It uses the image file of the scanner table [Language.lim].

Arguments


NameTypeSemantic
Language name language name
FileName path path of source file to scan



Options

An option will be specified as follows: -<Name>=<Value>
The default value will be applied when the option wasn't specified.

NameTypeDefault valueSemantic
charset string"" source file character set ( UTF-8, UCS4, ... )
binmode flagfalse scan source file in binary mode ( not with charset-option )
wprint flagfalse unicode output ( on non-default character set )
tokens flagtrue create list of all scanned tokens
symbols flagfalse create list of all symbols in the internal symbol table



Environment

An environment variable will be specified as followed: -<Name>=<Value>
The default value will be applied when no environment variable was specified.

NameTypeDefault valueSemantic
PATH path search path for [Language.lim]