Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New year plan #12

Open
15 of 16 tasks
winterland1989 opened this issue Jan 9, 2019 · 4 comments
Open
15 of 16 tasks

New year plan #12

winterland1989 opened this issue Jan 9, 2019 · 4 comments

Comments

@winterland1989
Copy link
Contributor

winterland1989 commented Jan 9, 2019

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. Implement IsString instance for Bytes, Text, Builder (). Revise CBytes instance.

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

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

  4. filesytem, need more tests, tests added

Upd 12 Feb 2019,

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

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

  1. DNS related stuff

  2. UDP socket

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

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

@winterland1989
Copy link
Contributor Author

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
Copy link
Contributor Author

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.

@sighingnow
Copy link
Contributor

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.

@winterland1989
Copy link
Contributor Author

winterland1989 commented Jan 28, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants