PLC-lang / rusty

Structured Text Parser and LLVM Frontend
GNU Lesser General Public License v3.0
223 stars 53 forks source link

feat: Add `TO_<CHAR,STRING>` functions #1355

Closed volsa closed 2 days ago

volsa commented 1 week ago

This commit introduces the TO_CHAR, TO_WCHAR, TO_STRING and TO_WSTRING functions, all making use of already existing X_TO_Y functions.

EDIT: There's some issue with printf() statements giving incorrect validation errors, which needs to be fixed before this can be merged.