Skip to content
This repository has been archived by the owner on Jun 4, 2018. It is now read-only.

Creates the Command Line Interface #4

Open
wisn opened this issue Jul 25, 2017 · 3 comments
Open

Creates the Command Line Interface #4

wisn opened this issue Jul 25, 2017 · 3 comments
Assignees
Milestone

Comments

@wisn
Copy link
Owner

wisn commented Jul 25, 2017

We need to creates the command line interface for Hanum. We will use Options for the arguments parser.

@wisn wisn created this issue from a note in First Release Roadmap (Ongoing) Jul 25, 2017
@wisn wisn self-assigned this Jul 25, 2017
@wisn wisn added this to the Alpha Sprint milestone Jul 25, 2017
@wisn
Copy link
Owner Author

wisn commented Aug 6, 2017

Using own algorithms instead of Options. It's easier to custom.

@wisn wisn moved this from Ongoing to Testing in First Release Roadmap Aug 11, 2017
@wisn
Copy link
Owner Author

wisn commented Aug 11, 2017

This part has been worked well. The rest is just improve the performance (if possible). What should I do is try to use mutable state for the Arguments.

Here is the ADT.

type Options = Map.Map String String

data Arguments = ArgNil
               | Arguments
                 { options          :: Options
                 , arguments        :: [String]
                 , unknownOptions   :: Options
                 , unknownArguments :: [String]
                 }
               deriving (Eq, Show)

@arkrwn
Copy link

arkrwn commented Nov 22, 2017

Ganbate gan :D

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

No branches or pull requests

2 participants