$= operators still in use today ? If yes is there any examples of their usage.
I can get a MWE for both of them
A = rand(0:100,2,5) A[:,1:2] = 1:4 # works ok A := 1:10 # will throws a syntax ERROR A[:,1:2] := (1:4...,) # will throws a syntax ERROR; may never leave the frontend
:= is marked as “;; unsupported assignment operators” at the end the frontend
;; https://github.com/JuliaLang/julia/blob/v1.6.2/src/julia-syntax.scm#L4341 ;; unsupported assignment operators ((≔ ⩴ ≕ :=) (error (string "unsupported assignment operator \"" (deparse (car e)) "\"")))
but still parsed at its beginning
;; https://github.com/JuliaLang/julia/blob/v1.6.2/src/julia-parser.scm#L110 ; operators that are special forms, not function names (define syntactic-operators (append! (add-dots '(= += -= *= /= //= |\\=| ^= ÷= %= <<= >>= >>>= |\|=| &= ⊻=)) '(:= $= && |\|\|| |.| ... ->)))
without any (direct) occurences detected.
is still handled as an assignment op
it may be used indirectly, thru assignment-op processing, but hum, a MWE is not so obvious to me
I’m very open for suggestions there