Nice one, this should make life much easier, thanks!
I wonder if changing the code to the following will help much?
import os, parsecsv, streams
proc main() =
var
fields = 0'i32
csv: CsvParser
let
stream = newFileStream(paramStr(1), fmRead)
csv.open(stream, paramStr(1))
whi
The tool I've been waiting for is here! Thank you!
An interesting issue I had while installing was this:
$ curl https://nim-lang.org/choosenim/init.sh -sSf | sh
choosenim-init: Downloading choosenim-0.1.0_linux_amd64
Prompt: Symlink for 'nimble' detected in '/home/userna
Just downloaded it and started using it. I think some usage documentation is in
order, but looks like you've already started on that.
I figured out how to use it fairly easily just by using the \--help flag. Seems
to work really well on my Ubuntu 16.04 LTS machine.
Just a note regarding the ins
Thank you so much! I've been waiting for a tool like this since forever.
Just looking at the results in the README, Rust shellacked Nim and every other
language. First and second place.
Nim has an added trick up its sleeve when going toe to toe with the Rustkies:
benchmark Nim using all available backend compilers (ex. Intel's icc) and go
with the fastest.
Use `.` to represent `"`
echo str.replacef(peg".{\ident}. '=>' .{\ident}.", "$1:$2")
I have the following code:
var str = """{"casino"=>"pro"}"""
echo res.replace(peg"{\ident}'=>'{\ident}", "$1:$2")
I got result: {"casino"=>"pro"}
but I want the result {"casino":"pro"}, is there anyway to do this? Thanks
Hey guys,
I finally released choosenim. Let me know what you think and whether it works
for you:
[https://github.com/dom96/choosenim](https://github.com/dom96/choosenim)
It should make the installation of Nim and management of multiple versions of
it much easier.
sorry, my bad
maybe this should help?
[https://forum.nim-lang.org/t/1188#7366](https://forum.nim-lang.org/t/1188#7366)
12 matches
Mail list logo