symengine / SymEngine.jl

Julia wrappers of SymEngine
MIT License
192 stars 43 forks source link

Incomplete Unicode Support Causing Errors #219

Open chelseas opened 3 years ago

chelseas commented 3 years ago

What is happening here?

julia> Basic(:(v_2 ≤ v_3))
ERROR: Base.Meta.ParseError("v_2 ≤ v_3")
Stacktrace:
 [1] throw_if_error at /Users/Chelsea/.julia/packages/SymEngine/lLmHe/src/exceptions.jl:5 [inlined]
 [2] convert(::Type{Basic}, ::String) at /Users/Chelsea/.julia/packages/SymEngine/lLmHe/src/types.jl:51
 [3] Basic at /Users/Chelsea/.julia/packages/SymEngine/lLmHe/src/types.jl:93 [inlined]
 [4] convert at /Users/Chelsea/.julia/packages/SymEngine/lLmHe/src/types.jl:57 [inlined]
 [5] Basic(::Expr) at /Users/Chelsea/.julia/packages/SymEngine/lLmHe/src/types.jl:93
 [6] top-level scope at REPL[45]:1
 [7] eval(::Module, ::Any) at ./boot.jl:331
 [8] eval_user_input(::Any, ::REPL.REPLBackend) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.4/REPL/src/REPL.jl:86
 [9] run_backend(::REPL.REPLBackend) at /Users/Chelsea/.julia/packages/Revise/tV8FE/src/Revise.jl:1165
 [10] top-level scope at REPL[9]:0

julia> Basic(:(v_2 <= v_3))
v_2 <= v_3

Running Julia1.4 on a mac running Catalina 10.15.5