schveiguy / iopipe

D language library for modular io
Boost Software License 1.0
77 stars 6 forks source link

text conversion should be simple #40

Open schveiguy opened 1 year ago

schveiguy commented 1 year ago

I'm trying to write an example to post to the forums as to how easy iopipe is to use to convert text.

and... it's not easy. I know I can write a large pipeline, but this needs to be easier.

  1. It should be trivial to open a file and process it with any text format we wish
  2. It should be trivial to skip any opening BOM (once the BOM is processed, it doesn't matter that it's there)
  3. Need a way to make this work without using insane numbers of templates.

In general, a lot more machinery is needed regarding text processing. There are a lot of tools there, but it should be a one-line thing to get whatever text you want from whatever text you have.