Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(builtins): Symbols as builtins (PLC-lang#1012)
* variadic add builtin function * index on builtin-arithmetics: * move arith func correctness tests in own folder * add tests, fix sized variadic test naming conflict * - adds comparison operators as builtin-functions. - annotates call-statements with `ReplacementAst` statements - temporary name-conflict fix for string-comparison overloads * fix comparison function logic. (GT(a, b, c) == a > b && b > c && c > d) add test to make sure AST is the same whether using symbols or calls * fix function overloads for string comparison * refactor part of `visit_call_statement` moved to its own function so it can be redirected to * refactor builtin annotations to reduce necessary ast-replacement checks during codegen. fix type-hints for nested binary-expr. with builtin-calls * fix st-header formatting * fix string header signature mismatch * param count validation
- Loading branch information