Skip to content

Conversation

@halmusaibeli
Copy link
Contributor

date and version stamping for tpp and LS files

@halmusaibeli
Copy link
Contributor Author

@kobbled @groupsixtech

Introduces support for STRLEN and SUBSTR expressions in the parser and grammar, including new StrlenNode and SubstrNode AST classes. Updates parser rules and token definitions to handle these string operations, enabling string length and substring extraction functionality.
Introduces unit tests for the strlen and substr functions, covering basic usage, usage with registers and constants, combined usage, and syntax variations with and without parentheses.
Introduces example files demonstrating usage of string functions such as strlen and substr in both .ls and .tpp formats. These examples cover string length calculation, substring extraction, and conditional logic based on string length.
Added a new section demonstrating usage of FANUC's built-in strlen and substr functions in TP+ and their generated LS syntax. Examples cover basic usage, dynamic length calculation, and conditional logic.
@halmusaibeli
Copy link
Contributor Author

strlen and substr has been tested in cell 5 and cell 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant