**Note to admin**: that post is a full copy of the first (_Libman_'s) post,
after the first 2 words.
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
://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
@Fungi: Scala and Haskell are both compiled languages that have REPLs. But I
can only speculate how they got it to work.
@Fungi: Here is a [C++ repl](https://root.cern.ch/cling)
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
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
The VM doesn't handle all Nim imports (but as per nimscript?).
@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.
The repl is hidden in `nim secret`, I think because it's not really stable.
Why can't compiled languages have a REPL? They don't have any sins
That functionality is no longer valid.
There are some quasi REPL offerings in nimble (compile and run in the
background?)
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
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
14 matches
Mail list logo