stdio
stdio copied to clipboard
New year plan
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
-
[x] Implement
IsStringinstance forBytes,Text,Builder (). ReviseCBytesinstance.- [x] instance for
Bytes - [x] instance for
Text - [x] instance for
Builder ()
- [x] instance for
-
[x] Investigate
IFFormat(Std.Data.Builder.Textual), implement formating functions- [x]
dec/decWith - [x]
float/doubleusing grisu3
- [x]
-
[x] Implement varies
Parsers (borrow from binary-parsers). -
[x] filesytem, ~~need more tests~~, tests added
Upd 12 Feb 2019,
- [x] Implement a decent logger
- [x]
stdin,stdout,stderrshould detect regular file case or TTY. - [x] concurrent logging performance should be considered.
- [x]
Upd 18 Feb 2019, Following will be ready in next version:
-
[ ] DNS related stuff
-
[x] UDP socket
-
[x] Provide more basic type's instances in LEON module, our binary replacement.
-
[x] A JSON module? a TXON module to replace Show & Read?
OK, I have pushed our weekend's work to rework-text branch, I made some changes to our work as follows:
-
I float
lenandvalidout of the copying loop, hoping that these binding can be cached and reused between each copying loop (Mainly for builders which may runcopyPtrToMutablePrimArraymore than once) -
I added a
Std.Data.Text.Buildermodule to traceTextBuilderidea, maybeStd.Data.Builder.Textis better? I'm not sure. By default just useBuilders (numeric.. , etc). -
I replaced
CStringwithAddr#for several places.
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.
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.
OK, I'll merge then. If you find something interesting to hack just start a new branch ; )