This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import strutils | |
import math | |
#[ | |
Module name: Implementation of MergeSort recursion. | |
Author: Benny E. | |
Mail: elgazarbenny at gmail.com | |
]# | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import strutils | |
import sequtils | |
import os | |
import tables | |
proc parseArguments*(inputString: seq[string]): Table[string, string] = | |
var arguments = newSeq[string]() | |
if inputString.len == 0: | |
discard | |
else: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "../src/parse_args.nim" | |
import sequtils, strutils, os | |
import tables | |
var res: Table[string, string] | |
res = parseArguments(commandLineParams) | |
echo res |
NewerOlder