Code Monkey home page Code Monkey logo

sip's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

sip's Issues

Inconsistency in parsers and module structure

Currently parsers, especially the common ones like doublep and intp, are pretty inconsistent, so is the module structure.

Following is a partial list of inconsistencies which need to be addressed, there are likely many others:

  • doublep will consume whitespace but intp will not.
  • Module intent should be made more explicit
    • Move common functions into Common
    • Be clear with the intent of each module - for example Linux.Parser.Internal.Proc covers parsers for root proc files (/proc/) and per process files (/proc/[pid]/**).
  • The ProcessStat data structure is duplicated, it exists in both the modules Linux.Parser.Internal.Proc and Linux.Parser.Proc . the latter should probably be removed.
  • It's not clear what the Linux.Graph.SystemInfo module is for anymore, maybe this should be re-thought and put into a separate package?
  • Record and function naming conventions are terrible! Perhaps investing time into the records library would be worthwhile.

Add tests for parsers

Currently there are 0 tests! Refactoring can easily cause logic issues in the parsers.

There should at the very least be quickcheck tests against the top level parsers.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.