stdio icon indicating copy to clipboard operation
stdio copied to clipboard

New year plan

Open winterland1989 opened this issue 6 years ago • 4 comments

Welcome everyone, let's kick off another round of iteration of stdio. To help everyone find something interesting to do, we have made a issue list. @sighingnow

  1. [x] Implement IsString instance for Bytes, Text, Builder (). Revise CBytes instance.

    • [x] instance for Bytes
    • [x] instance for Text
    • [x] instance for Builder ()
  2. [x] Investigate IFFormat (Std.Data.Builder.Textual), implement formating functions

    • [x] dec/decWith
    • [x] float/double using grisu3
  3. [x] Implement varies Parser s (borrow from binary-parsers).

  4. [x] filesytem, ~~need more tests~~, tests added

Upd 12 Feb 2019,

  1. [x] Implement a decent logger
    • [x] stdin, stdout, stderr should detect regular file case or TTY.
    • [x] concurrent logging performance should be considered.

Upd 18 Feb 2019, Following will be ready in next version:

  1. [ ] DNS related stuff

  2. [x] UDP socket

  3. [x] Provide more basic type's instances in LEON module, our binary replacement.

  4. [x] A JSON module? a TXON module to replace Show & Read?

winterland1989 avatar Jan 09 '19 14:01 winterland1989

OK, I have pushed our weekend's work to rework-text branch, I made some changes to our work as follows:

  • I float len and valid out of the copying loop, hoping that these binding can be cached and reused between each copying loop (Mainly for builders which may run copyPtrToMutablePrimArray more than once)

  • I added a Std.Data.Text.Builder module to trace TextBuilder idea, maybe Std.Data.Builder.Text is better? I'm not sure. By default just use Builder s (numeric.. , etc).

  • I replaced CString with Addr# for several places.

winterland1989 avatar Jan 28 '19 06:01 winterland1989

I'll focus on Parsers now, which is not a part of text rework. so I want to merge rework-text to master now, is that OK with you? BTW what about the crashing on windows now? @sighingnow I still believe there's a problem of your GHC toolchain.

winterland1989 avatar Jan 28 '19 07:01 winterland1989

I'm OK for those changes, lets the it merged.

The crash on windows also occurs on another windows 10 desktop, I will open an issue to track that.

sighingnow avatar Jan 28 '19 07:01 sighingnow

OK, I'll merge then. If you find something interesting to hack just start a new branch ; )

winterland1989 avatar Jan 28 '19 07:01 winterland1989