From 1eb6fe214f8988ec6f2c08e9e8ccee6078fd04a6 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Wed, 11 Feb 2015 14:02:32 +0100 Subject: [PATCH] Updated GSoC 2015 Ideas (markdown) --- GSoC-2015-Ideas.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/GSoC-2015-Ideas.md b/GSoC-2015-Ideas.md index 527d679..6eba4b4 100644 --- a/GSoC-2015-Ideas.md +++ b/GSoC-2015-Ideas.md @@ -30,13 +30,14 @@ Nim provides a simple REPL based on its compile-time Virtual Machine, but it is not adequate. For example importing C based code does not work. An alternative approach is the development of a new REPL that actually compiles -the entered code to C and then used TinyCC to immediately execute this code. +the entered code to C and then uses TinyCC to immediately execute this code. TinyCC is well suited for this as it can execute C code very quickly. **Tasks:** * Add a simple TinyCC based REPL for Nim. - * Make sure common Nim code works as well as importing C based libraries - * Improve its performance + * Ensure that global state (that is: state stored in global variables) is kept during recompilations of the generated C code. This means the C codegen needs to emit some kind of getters and setters for global variable access. + * Make sure common Nim code works as well as importing C based libraries. + * Improve its performance. **Difficulty:** Medium to Hard