Marc-André Cournoyer wrote:
Hi all,

I'm looking at different VMs to implement a very simple scripting language for fun. I've built and tried a couple samples using the nekoc and neko tools. I'm wondering if it make sense to use Neko to compile and interpret in one single step like scripting language usually do (Ruby, Python...).

In other words, is it possible to implement a read-eval-print-loop for Neko? When you type an expression it gets evaluated right away. Or simply running directly the .neko file and loading other source .neko file inside it?

Yes it's possible.

Try to run "nekoc -console", write script and end it with ! to execute.
Sources are in neko/src/neko/Console.nml

Best,
Nicolas

--
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to