Comments (5)
I made a start on this yesterday. I'm 50β75% done. Fortunately I think what you described above matches what I did/planned to do π
from chars.
This is a marvelous idea! Thanks for submitting it! :D
I'm not sure I can take a look at this in the next few weeks, but would love to have this feature. If you want to take a stab at it, I can probably give you enough guidance to get you started, though (:
from chars.
I might be able to take a look on the weekend. Did you have and preferences/thoughts regarding whether the version information was output by default?
from chars.
I think showing the version unconditionally would be just fine - chars
is somewhat aggressively non-configurable and maximally informative for human users, so just adding it would work well (:
To add this feature, I think it's a two/three step process:
- you'd add a task to fetch data file to the
chars_data
subcrate in the chars workspace here, - update
write_name_data
in the unicode portion to emit another table giving unicode versions & the ranges added in them (ideally make it a memory-optimized data structure; I don't extremely mind searching throughn*13ish
unicode versions for each character, but would be worried if we added a table mapping each character to a version number... maybe there's something one could do with tries though?) - Update the Codepoint
Display
impl's branch for Unicode here-ish to show the version number.
...and that's about it, I think! The main difficulty will probably be making a parser for that data file (the ones I made I got by with making a regex-based one, but feel free to use any other reasonable method, tbqh) and finding a decently space-efficient repr for the version table. Best of luck!
from chars.
That's fantastic to hear - excited to see what you came up with (:
from chars.
Related Issues (14)
- [Feature] unicode character lookup by description HOT 2
- `cargo +nightly clippy` has many complaints HOT 1
- AUR Package HOT 2
- Pull in unicode_names as an internal crate HOT 1
- Suggestion: Include HTML character entity reference names in output and in search HOT 1
- Suggestion: Make output colorful HOT 1
- `cargo install` fails HOT 1
- Allow effective searching for flags and other zwj-joined symbols HOT 1
- Sim HOT 1
- Searches with many results
- Suggestion: output something when thereβs no results
- Suggestion: support `--help` and `--version`
- Difficulty searching for small triangles HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chars.