We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now, the interpreter shows Unicode strings as random characters. For example, given this snippet from the Rust Book:
fn main() { let hello = String::from("السلام عليكم"); }
Then Aquascope generates the following heap:
The issue is that Strings are serialized as a vector of chars here:
aquascope/crates/aquascope/src/interpreter/mvalue.rs
Lines 165 to 173 in b73e572
And then each char is individually converted back to a character here:
aquascope/frontend/packages/aquascope-editor/src/editor-utils/interpreter.tsx
Line 285 in b73e572
But that strategy doesn't work for non-ASCII strings.
The text was updated successfully, but these errors were encountered:
Could I take this up? I'm new to Rust, so I'll take some time, if that's alright.
Sorry, something went wrong.
@safwansamsudeen sure thing. Feel free to post in this thread if you have any issues getting started.
No branches or pull requests
Right now, the interpreter shows Unicode strings as random characters. For example, given this snippet from the Rust Book:
Then Aquascope generates the following heap:
The issue is that Strings are serialized as a vector of chars here:
aquascope/crates/aquascope/src/interpreter/mvalue.rs
Lines 165 to 173 in b73e572
And then each char is individually converted back to a character here:
aquascope/frontend/packages/aquascope-editor/src/editor-utils/interpreter.tsx
Line 285 in b73e572
But that strategy doesn't work for non-ASCII strings.
The text was updated successfully, but these errors were encountered: