Giter Site home page Giter Site logo

Comments (5)

wezm avatar wezm commented on May 28, 2024 1

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.

antifuchs avatar antifuchs commented on May 28, 2024

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.

wezm avatar wezm commented on May 28, 2024

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.

antifuchs avatar antifuchs commented on May 28, 2024

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:

  1. you'd add a task to fetch data file to the chars_data subcrate in the chars workspace here,
  2. 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 through n*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?)
  3. 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.

antifuchs avatar antifuchs commented on May 28, 2024

That's fantastic to hear - excited to see what you came up with (:

from chars.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.