Migration to YarnSpinner 3.0#278
Conversation
|
With the 3.0, YarnSpinner update its ANTLR version to 4.13.1. However, it seems that the rust version (not updated since 2022) is not enough to update it easily. Some functions are missing. If someone can help me here, I'm not familiar with ANTLR and coulnd't find anything to create those functions. Missing functions in yarnspinerlexer.rs:
|
|
@Galdormin I've searched a bit and it seems like proper antlr (for) rust support is in an impasse as per this discussion antlr4rust/antlr4#24. This one seems the way to go https://crates.io/crates/antlr4rust and has been updated 6 month ago, that said the author redirects to https://github.com/antlr4rust/antlr4 (last commit March 2026) as per rrevenantt/antlr4rust#91 (comment) so not sure how long it will be maintained for but it might be a short term solution? Not familiar with ANTLR at all, just chipping in. |
YarnSpinnerTool/YarnSpinner@v2.5.0...v3.0.0
Compiler
➖ YarnSpinner.Compiler/Builders/DeclarationBuilder.csYarnSpinner.Compiler/GrammarsTests
Runtime
YarnSpinner/CRC32.cs(no need we use a library)