Re: proposing new doc terminology for "compile-time" and "runtime"

2019-01-20 Thread deansher
I'm not actually proposing changing "compile time" to "analysis". I'm still proposing using the term "compile time" to talk about everything that happens during compilation. I'm just proposing that when we talk about what happens at compile time, we make a careful distinction between "semantic a

Re: Nim nightly builds

2019-01-20 Thread demotomohiro
Thank you! I can get the URL of latest nightly build for linux and download it with this one liner. curl -s [https://api.github.com/repos/nim-lang/nightlies/releases/latest](https://api.github.com/repos/nim-lang/nightlies/releases/latest) | grep ""browser_download_url": ".*-linux.tar.xz"" | sed

Re: proposing new doc terminology for "compile-time" and "runtime"

2019-01-20 Thread juancarlospaco
You recommend changing compile time to analysis?, that sounds even more confusing. CT FFI may not be a primitive literal value, or does not feel like it. I feel that for JavaScript and NimScript runtime makes more sense that execution, no one says executing on the browser.

Re: Purpose of this forum

2019-01-20 Thread calebwin
Thanks! I just did that

Pipelines - a language for scripting parallel pipelines (for Python written in Nim)

2019-01-20 Thread calebwin
So this kind of blew up on HN over the weekend but I thought I'd post it here so I could get some feedback from more experienced Nim users. It is my first project made in Nim so I would like to get people's comments on what I might be doing wrong or right. (The code is well-commented so I hope

proposing new doc terminology for "compile-time" and "runtime"

2019-01-20 Thread deansher
I believe our documentation's current use of the terms "compile time" and "runtime" is confusing and often misleading. Here is a proposed new direction. Once we've discussed it a bit here, I have a meta-question: is this worth an RFC, or should I just PR the doc changes? **example 1 of current

Re: Nim nightly builds

2019-01-20 Thread shashlick
It's possible in plain bash as well. [https://gist.github.com/steinwaywhw/a4cd19cda655b8249d908261a62687f8](https://gist.github.com/steinwaywhw/a4cd19cda655b8249d908261a62687f8) [https://stackoverflow.com/questions/24987542/is-there-a-link-to-github-for-downloading-a-file-in-the-latest-release-o

Re: Nim nightly builds

2019-01-20 Thread demotomohiro
Thx! But parsing json and finding URL I want to use only with bash script looks hard.

Re: generic instantiation with object inheritance

2019-01-20 Thread e
Working on minimal reproduction I triggered another bug that may be related. When my base method is discard, the second instantiation of my class fails to call the correct method size. I changed size to return a bogus value in the base case, which should never be called, and got > Error: unhand

Re: How to "install" a newly built Nim on a directory?

2019-01-20 Thread anta40
Hmm where's this install.sh? I couldn't find it in source directory...

Re: How to "install" a newly built Nim on a directory?

2019-01-20 Thread anta40
Thank you. So far, only copying bin and lib directories works fine :)

Re: Nim Advocacy & Promotion Strategies

2019-01-20 Thread lscrd
I don’t understand when you are saying that `b = 2` means `let b = 2` in Python. Python has neither an equivalent of `var`, nor an equivalent of `let`. When you write `b = 2`, you simply bind the object `2` to the name `b`. And that doesn't prevent you to write afterwards `b += 1`, so it certain