Skip to content

Commit

Permalink
add backward compat for backward glyph
Browse files Browse the repository at this point in the history
  • Loading branch information
kaikalii committed Jan 18, 2025
1 parent a6b5126 commit ff28f76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This version is not yet released. If you are reading this on the website, then t
- Add data definition methods
- Stabilize subscripted [`random ⚂`](https://uiua.org/docs/random)
- Signature comments can now use a `$` rather than a `?` to automatically label arguments and outputs
- Change [`backward ˜`](https://uiua.org/docs/backward)'s glyph back. `¨` will continue to work and will be formatted as `˜`.
- Change [`backward ˜`](https://uiua.org/docs/backward)'s glyph back. `𝄈` will continue to work and will be formatted as `˜`.
- This glyph has much better font support
- Add sided subscripts for [`reach 𝄐`](https://uiua.org/docs/reach)
- Add the [`# External!`](https://www.uiua.org/tutorial/documentation#external) semantic comment to mark functions that are provided via Rust code
Expand Down
2 changes: 1 addition & 1 deletion src/lex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ impl<'a> Lexer<'a> {
// Backwards compatibility
"∶" => self.end(Primitive::Flip, start),
"⮌" => self.end(Primitive::Orient, start),
"¨" => self.end(Primitive::Backward, start),
"¨" | "𝄈" => self.end(Primitive::Backward, start),
"⍛" => self.end(Primitive::Obverse, start),
"◫" => {
self.end(Primitive::Stencil, start);
Expand Down

0 comments on commit ff28f76

Please sign in to comment.