Updated GSoC 2015 Ideas (markdown)
This commit is contained in:
parent
6ec50e69be
commit
1eb6fe214f
|
@ -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.
|
not adequate. For example importing C based code does not work.
|
||||||
|
|
||||||
An alternative approach is the development of a new REPL that actually compiles
|
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.
|
TinyCC is well suited for this as it can execute C code very quickly.
|
||||||
|
|
||||||
**Tasks:**
|
**Tasks:**
|
||||||
* Add a simple TinyCC based REPL for Nim.
|
* Add a simple TinyCC based REPL for Nim.
|
||||||
* Make sure common Nim code works as well as importing C based libraries
|
* 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.
|
||||||
* Improve its performance
|
* Make sure common Nim code works as well as importing C based libraries.
|
||||||
|
* Improve its performance.
|
||||||
|
|
||||||
**Difficulty:** Medium to Hard
|
**Difficulty:** Medium to Hard
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue