Hi here,
I have read some discussions about using Unicode. Frankly speaking,
that reminds me of the past, when Debian developers did not want to
support 64 bits by default instead of 32 bits. They were wrong. From
my point of view Unicode is a must have. Otherwise the Lisp subsystem
is outdated, I think:
'a' ∈ "abcd"
must return true. We are in 2023 and almost 2024.
As of now with SBCL:
(1) -> 'a' ∈ "abcd"
Line 1: 'a' ∈ "abcd"
....AB
Error A: Improper syntax.
Error B: The character #\ELEMENT_OF is not a FriCAS character.
2 error(s) parsing
(3) -> "a" ∈ "abcd"
Line 1: "a" ∈ "abcd"
....AB
Error A: Improper syntax.
Error B: The character #\ELEMENT_OF is not a FriCAS character.
2 error(s) parsing
This is why I kept supporting Julia String. Even if this is not my aim
to keep supporting Julia String. Try that for syntax highlighting:
"((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_![:word:]_\\?\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)({(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})?\\??(\\()",
Just my two cents
__
Greg
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/CAHnU2dYUXweamBdTLat0u5oSGHMs8feVwXCm3QTkkr%2Bq%3DsBQng%40mail.gmail.com.