Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 13 additions & 11 deletions mathics_scanner/data/named-characters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9756,17 +9756,19 @@ SkeletonIndicator:
wl-unicode: "\u2043"
wl-unicode-name: HYPHEN BULLET

Slot:
ascii: "#"
has-unicode-inverse: false
is-letter-like: false
operator-name: Slot

SlotSequence:
ascii: "##"
has-unicode-inverse: false
is-letter-like: false
operator-name: SlotSequence
# FIXME: These are commented out because
# of bugs in ToString in Mathics3-core
# Slot:
# ascii: "#"
# has-unicode-inverse: false
# is-letter-like: false
# operator-name: Slot

# SlotSequence:
# ascii: "##"
# has-unicode-inverse: false
# is-letter-like: false
# operator-name: SlotSequence

SmallCircle:
amslatex: '\circ'
Expand Down
2 changes: 2 additions & 0 deletions test/test_tokeniser.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ def test_LITERAL_TOKENS_dict():
"Symbol",
"RawColon",
"Unequal", # FIXME reinstate this
"SlotSequence", # FIXME reinstate this after ToString is fixes
):
continue
# In the case of Function, there are several strings representations
Expand All @@ -128,6 +129,7 @@ def test_LITERAL_TOKENS_dict():
"Semicolon",
"Greater", # FIXME reinstate this
"Function", # FIXME reinstate this
"Slot", # FIXME reinstate this after ToString is corrected.
):
continue
for operator in reversed(OPERATOR_TO_STRING[token_name]):
Expand Down
Loading