-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor ast api #47
Refactor ast api #47
Commits on Jan 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e24e534 - Browse repository at this point
Copy the full SHA e24e534View commit details
Commits on Jan 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2d32d56 - Browse repository at this point
Copy the full SHA 2d32d56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64cef82 - Browse repository at this point
Copy the full SHA 64cef82View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0acd352 - Browse repository at this point
Copy the full SHA 0acd352View commit details
Commits on Jan 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b6e412b - Browse repository at this point
Copy the full SHA b6e412bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4415ce3 - Browse repository at this point
Copy the full SHA 4415ce3View commit details
Commits on Jan 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 18725f3 - Browse repository at this point
Copy the full SHA 18725f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for b557ce4 - Browse repository at this point
Copy the full SHA b557ce4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a511ed8 - Browse repository at this point
Copy the full SHA a511ed8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e140a1c - Browse repository at this point
Copy the full SHA e140a1cView commit details
Commits on Jan 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for cbc3671 - Browse repository at this point
Copy the full SHA cbc3671View commit details
Commits on Jan 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d9f2757 - Browse repository at this point
Copy the full SHA d9f2757View commit details -
Refactor and fix serializers for FunctionReference and DynamicReference.
The serializers for FunctionReference and DynamicReference have been refactored and fixed. This includes updating conditions for properties and handling potential null values. Removed redundant converter in TestUtil following restructuring of serialization tests.
Configuration menu - View commit details
-
Copy full SHA for f58f3bf - Browse repository at this point
Copy the full SHA f58f3bfView commit details -
Update serializers and tests in Linguini.Serialization
Updated and implemented multiple serializers in Linguini.Serialization to handle different types of data, including patterns, placeables, and named arguments. Additional tests were added in SerializeAndDeserializeTest.cs to verify correct serialization. Significant changes were also made to PatternSerializer and NamedArgumentSerializer.
Configuration menu - View commit details
-
Copy full SHA for 0839296 - Browse repository at this point
Copy the full SHA 0839296View commit details -
Extend test cases and fix Identifier comparison
A suite of new test cases have been added to SerializeAndDeserializeTest for comprehensive testing. Changes have been incorporated to the way of comparing Identifiers, using Identifier.Comparator for accurate comparisons.
Configuration menu - View commit details
-
Copy full SHA for 94ab26a - Browse repository at this point
Copy the full SHA 94ab26aView commit details -
Implement AstComment equality logic and JSON deserialization
Implemented equality logic for AstComment class in Entry.cs allowing for more complex comparisons. In addition to this, JSON deserialization has been implemented in CommentSerializer.cs allowing for reading AstComment from JSON. Now AstComment can be accurately compared and serialized from JSON format.
Configuration menu - View commit details
-
Copy full SHA for 378d71d - Browse repository at this point
Copy the full SHA 378d71dView commit details -
Refactor variant and number literal serialization
The commit moves the methods for variant and number literal serializations from the ResourceSerializer class to the VariantSerializer class. The move aids in organization and code readability, as variant serialization is now better isolated and number literal serialization is directly utilized in variant serialization. Exception messages for invalid inputs have also been improved during the refactoing.
Configuration menu - View commit details
-
Copy full SHA for f4965f9 - Browse repository at this point
Copy the full SHA f4965f9View commit details -
Implement deserialization methods in Converters
Previously, all deserialization methods in the Converters threw a 'NotImplementedException'. The new updates replace these methods with actual implementations, ensuring that when serialized objects are read back, they are correctly converted back to their original form. This change improves the overall functionality and efficiency of the serialization process.
Configuration menu - View commit details
-
Copy full SHA for ea5d022 - Browse repository at this point
Copy the full SHA ea5d022View commit details
Commits on Jan 22, 2024
-
Refactor serialization and deserialization test suite
The serialization and deserialization test suite has been updated for clarity and performance. The process is now consolidated into a single method called `RoundTripTest()`. Additionally, equality implementations for `AstMessage` and `Junk` classes have been added, allowing for more reliable object comparison in tests. Implementations for processing `Junk` and `AstMessage` have been tweaked for correctness and better error reporting.
Configuration menu - View commit details
-
Copy full SHA for 2f25393 - Browse repository at this point
Copy the full SHA 2f25393View commit details