Re: Min: a Nim-based minimalist, concatenative, functional REPL & script lang

2017-08-10 Thread LeuGim
**Note to admin**: that post is a full copy of the first (_Libman_'s) post, after the first 2 words.

Re: Min: a Nim-based minimalist, concatenative, functional REPL & script lang

2017-08-10 Thread wismacibanteng
right now, but right off the bat I was able to have some simple RPL fun in the Min REPL shell. Looking at the Min lib code shows how easy it is to wrap Nim code and export it to Min. But examples of how Min can be used (so far just within the hastysite SSG) are very simplistic. It would

Min: a Nim-based minimalist, concatenative, functional REPL & script lang

2017-08-04 Thread Libman
://en.wikipedia.org/wiki/Reverse_Polish_notation) fun in the Min [REPL shell](https://en.wikipedia.org/wiki/Read–eval–print_loop). * Looking at the [Min lib code](https://github.com/h3rald/min/tree/master/lib) shows how easy it is to wrap Nim code and export it to Min. But examples of how Min can

Re: REPL?

2017-03-06 Thread PeterSR
@Fungi: Scala and Haskell are both compiled languages that have REPLs. But I can only speculate how they got it to work.

Re: REPL?

2017-03-01 Thread Krux02
@Fungi: Here is a [C++ repl](https://root.cern.ch/cling)

Re: REPL?

2017-03-01 Thread Fungi
Krux02, that is exactly right. As we know, Nim is a fully compiled language (but also supports some runtime features), I haven't seen any REPL for any compiled languages. It is the"eval" part that needs runtime and/or an interpreter, this is a basic REPL in Lisp: (loop ( print ( eval ( read

Re: REPL?

2017-02-28 Thread Krux02
just that you know it, the repl is not the compiled part of the language at all. The repl is the functionality of the language that you have, when you execute code in a static block, therefore it is bytecode compiled and interpreted, similar to python. The bytecode part has a lot of bugs

Re: REPL?

2017-02-28 Thread jlp765
The VM doesn't handle all Nim imports (but as per nimscript?).

Re: REPL?

2017-02-27 Thread Fungi
@stisa, Why you didn't you say you are serious? I swear I thought you are joking with nim secret, and today when I just typed nim secret I totaly shocked! A REPL FOR A COMPILED LANGUAGE! I love you, REPL.

Re: REPL?

2017-02-26 Thread stisa
The repl is hidden in `nim secret`, I think because it's not really stable.

Re: REPL?

2017-02-26 Thread Fungi
Why can't compiled languages have a REPL? They don't have any sins

Re: REPL?

2017-02-26 Thread jlp765
That functionality is no longer valid. There are some quasi REPL offerings in nimble (compile and run in the background?)

REPL?

2017-02-25 Thread Fungi
My salution to Nim communtiy. I was very shocked when I saw a Nim REPL (aka Interactive mode) in rosetacode when I was exploring things, find it here [rosettacode.org/wiki/Interactive_programming#Nim](https://forum.nim-lang.org/postActivity.xml#rosettacode-org-wiki-interactive-programming-nim

REPL

2016-09-22 Thread alfrednewman
Hello, I am trying to compile [https://github.com/wheineman/nrpl](https://github.com/wheineman/nrpl) but I got the following error: nrpl.nim(116, 42) Error: attempting to call undeclared routine: 'map'. TCC is installed and in my windows path. Cheers