BurntSushi / ucd-generate

A command line tool to generate Unicode tables as source code.
Apache License 2.0
95 stars 21 forks source link

Feature request: add "block" subcommand #47

Open DustinByfuglien opened 3 years ago

DustinByfuglien commented 3 years ago

It would be useful to add "block" subcommand to generate ranges from Blocks.txt - unicode blocks.

BurntSushi commented 3 years ago

Patches welcome.

DustinByfuglien commented 3 years ago

ucd-generate is a wonderful app. Thank you very much for it. It helps me to make own regex engine.

Sorry I know very few about github and ucd-generate internal sctructure and it's can take a time and some efforts to study it. Please If it's trivial and don't take significant efforts for you then consider to add this feature. If no I'll take a time to learn how all it works and may be can add this feature in future.

BurntSushi commented 3 years ago

I'm not planning to work on this because I don't need it. ucd-generate is really meant to be a dumping ground for folks to push Unicode data generation into a common tool.

Please If it's trivial and don't take significant efforts for you then consider to add this feature.

It would probably be a few hours of work for me. But I don't have a few hours of time to spare. Sorry.

DustinByfuglien commented 3 years ago

Thanks.

virtualritz commented 1 year ago

There is the unicode-blocks crate which may fill that gap until blocks is added to this crate?