STIL
Standard Tester Interface Language [IEEE1450]
This repository contains STIL parser and dump compiler written in Python using Lark parser library and Language Server Protocol (LSP) for integration into IDE. The work is in progress and the parser is not yet ready to be used in production environment.
Usage examples
Use syntax and semantic parsers to find out errors in the input STIL file:
from Semi_ATE.STIL.parsers.STILParser import STILParser
stil_file = "PATH_TO_STIL_FILE"
parser = STILParser(stil_file)
parser.parse_syntax()
parser.parse_semantic()
if parser.err_line == -1:
print("No errors are found during STIL file parsing")
else:
print("Found error during STIL file parsing")
Use a dump compiler to understand how to make a own compiler.
The dump compiler will save content of the STIL file into one or more text files. The files contain WFC data for signals, commands etc. The compiler can expand the procedures and shift statements if needed. For detail information, read the intro text of the Semi_ATE.STIL.parsers.STILDumpCompiler
from Semi_ATE.STIL.parsers.STILDumpCompiler import STILDumpCompiler
stil_file = "PATH_TO_STIL_FILE"
out_folder = "PATH_TO_OUTPUT_FOLDER"
compiler = STILDumpCompiler(
stil_file, expanding_procs=True, is_scan_mem_available=True, out_folder = out_folder
)
compiler.compile()
Metadata
Release files for Semi-ATE-STIL 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Semi-ATE-STIL-0.3.2.tar.gz | 69.1 kB | Details |
Release files / Semi-ATE-STIL-0.3.2.tar.gz
| Download URL | Semi-ATE-STIL-0.3.2.tar.gz |
|---|---|
| Size | 69.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
78941544c05bfa53ae043f460531373bd8995eac952fad38a329ac7051397c50
|
|
BLAKE2b-256 checksum How to use checksums |
a4ceab0b0af920e314aa1686002d6f80a95af150ad7c1cb9ac48a78dd60256b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.14
|