Open winterland1989 opened 5 years ago
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.
I'll focus on Parser
s 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 ; )
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
IsString
instance forBytes
,Text
,Builder ()
. ReviseCBytes
instance.Bytes
Text
Builder ()
[x] Investigate
IFFormat
(Std.Data.Builder.Textual
), implement formating functionsdec/decWith
float/double
using grisu3[x] Implement varies
Parser
s (borrow from binary-parsers).[x] filesytem,
need more tests, tests addedUpd 12 Feb 2019,
stdin
,stdout
,stderr
should detect regular file case or TTY.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?