Add RTL functions for arithmetic and comparisons
This commit introduces a new module `ast::rtl` to house the standard runtime library functions for the language. It includes implementations for arithmetic operators (+, -, *, /, //, %), logical operators (and, or, xor, not), bitwise shifts (<<, >>), and comparison operators (=, <>, <, >, <=, >=). Additionally, a `date` function for parsing datetime strings has been added. This enhances the language's capability to handle basic mathematical and logical operations. Add RTL functions for arithmetic and comparisons This commit introduces the runtime library (RTL) functions for basic arithmetic operations, logical/bitwise operations, and comparisons. It also includes a `date` function for parsing datetime strings. Integration tests have been updated to cover these new functionalities.
This commit is contained in:
@@ -36,6 +36,7 @@ Wichtig: zentraler Einstiegspunkt ist Delphi/Myc.Ast.Environment.pasund die dort
|
||||
|
||||
* Ich kann Rust noch nicht so gut. Erkläre mir, was du machst und welche Konzepte du nutzt. Ich will was dazulernen.
|
||||
* Wenn clippy etwas vorschlägt, von dem du glaubst, dass es nicht stabil ist, dann überprüfe die aktuelle Version. Wahrscheinlich ist das Feature mittlerweile im trunk. Wir gehen immer davon aus, dass clippy recht hat.
|
||||
* Keine Interaktion mit GIT. Kein Commit, oder ähnliches. Schlage auch nichts dergleichen vor.
|
||||
|
||||
## Testing
|
||||
|
||||
|
||||
Reference in New Issue
Block a user