Grammar and format checker for ABB RAPID code.
Project description
rapidchecker
Grammar and format checker for ABB Rapid code.
- 🔎 Checks ABB RAPID code (.sys modules) for grammar errors and formatting issues.
- 🦾 Tested with RobotWare 5 code.
- 🐍 Powered by Python and pyparsing.
Getting started
Install with pip install rapidchecker
Then check a RAPID module (or a directory containing modules) by running
python -m rapidchecker <path-to-file-or-dir>
If any grammar or format errors are found, they are printed to stdout and the command exits with exitcode 1.
Features
rapidchecker checks for:
- Code that violates the ABB RAPID grammar.
- Bad indentation. Assumes indentation of 4 spaces.
- Lowercase keywords (
ifinstead ofIF,moduleinstead ofMODULEetc)
To be added
- Add package to pip.
- Checks for procedure, variable, function and signal names (enforce camel_case or snakeCase).
References
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rapidchecker-0.1.0.tar.gz.
File metadata
- Download URL: rapidchecker-0.1.0.tar.gz
- Upload date:
- Size: 22.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b956320d87198158f887740fb7f39e86cb86154314d8e56dcb9d582c44924df9
|
|
| MD5 |
94a0ba0a3bcbeb9173a7214e76b17b45
|
|
| BLAKE2b-256 |
7bbf57d937e4303b4626d7af8d48bed87bfecffe1b45352aa2a3cba3e0008afe
|
File details
Details for the file rapidchecker-0.1.0-py3-none-any.whl.
File metadata
- Download URL: rapidchecker-0.1.0-py3-none-any.whl
- Upload date:
- Size: 21.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
024c8e6d33bc56d95318e694db83559f601ed91368fb335b0daf8c7e3776c78e
|
|
| MD5 |
bb1160629e9ebf4382d94655431fe60a
|
|
| BLAKE2b-256 |
ed3ccffc5189246efe2fb87a3450b3ce7950e81de9665b0b231064e110f63a57
|