JuliaSyntax.jl icon indicating copy to clipboard operation
JuliaSyntax.jl copied to clipboard

≔ (\coloneq) generates "invalid identifier" error

Open JuhaHeiskala opened this issue 2 years ago • 0 comments

≔ (i.e. \coloneq) parsing fails with JuliaSyntax.

julia> ≔ = 1
ERROR: ParseError:
# Error @ REPL[2]:1:1
≔ = 1
╙ ── invalid identifier
Stacktrace:
 [1] top-level scope
   @ none:1

≔ is accepted as identifier character in FLISP parser.

julia> ≔ = 1
1

This with Julia 1.10

julia> versioninfo()
Julia Version 1.10.0
Commit 3120989f39b (2023-12-25 18:01 UTC)

JuhaHeiskala avatar Jan 06 '24 11:01 JuhaHeiskala