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

Double-asterisk (`**`) exponential operator is not supported by TwinCAT #75

Closed klauer closed 1 year ago

klauer commented 1 year ago

Double-asterisk ('**') exponential operator is not supported by TwinCAT or the underlying CODESYS, as far as I can tell.

This came in as part of the original grammar that blark is based on as the power_expression rule: https://github.com/klauer/blark/blob/11d5c309c9be7d6754589c0a3c764639c71e841b/blark/iec.lark#L703

This should be removed from the grammar and relevant test cases should be cleaned as well.