Skip to content
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

Emoji/Unicode Symbols? (string is not parseable as a symbol: System`😍) #21

Open
anandijain opened this issue Sep 28, 2024 · 0 comments

Comments

@anandijain
Copy link

Hello, great package.

I have a minimal copy of mathematica with wolfram-expr-rs as a dependency. For fun, I wanted to add unicode characters as symbols in my parser, this works out, but when Expr::symbol(Symbol::new(&format!("System{}", s))) ` is called I get

(In 1) := 😍
thread 'main' panicked at src/main.rs:199:28:
string is not parseable as a symbol: System`😍
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: process didn't exit successfully: `target\release\cas8.exe` (exit code: 101)

I noticed though that emojis seem to be valid symbols in actual Wolfram.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant