klauer / blark

Beckhoff TwinCAT ST (IEC 61131-3) code parsing in Python using Lark (Earley)
https://klauer.github.io/blark/
GNU General Public License v2.0
42 stars 5 forks source link

Add documentation for how to submit new tests cases #29

Closed klauer closed 1 year ago

klauer commented 2 years ago

Goal

If someone tries blark and it fails to parse their code or fails otherwise, we'd like to know about it.

  1. Creating an issue would be just fine
  2. Creating a failing test case would be even better
    • Dropping in a .st file in blark/tests/source/
    • Or a .TcPOU in blark/tests/POUs

If the missing/mistaken grammar construct can be identified, we should reference back to infosys when possible.