Support arbitrary unicode codepoint #29

Closed
opened 2 years ago by locriacyber · 1 comments
locriacyber commented 2 years ago (Migrated from github.com)

Currently, the following code is invalid.

#lang brag
graphic: "\x21".."\x7E" # "!".."~"
utf8: "\u0080".."\uFFFF"

What's the behavior of brag when handling unicode strings? Racket's documentation says a string is a list of codepoints.

Currently, the following code is invalid. ``` #lang brag graphic: "\x21".."\x7E" # "!".."~" utf8: "\u0080".."\uFFFF" ``` What's the behavior of brag when handling unicode strings? [Racket's documentation](https://docs.racket-lang.org/guide/characters.html) says a string is a list of codepoints.
mbutterick commented 2 years ago (Migrated from github.com)

I can look into it. The .. character-range operator is part of neither Racket nor brag, however.

I can look into it. The `..` character-range operator is part of neither Racket nor brag, however.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mbutterick/brag#29
Loading…
There is no content yet.