nim-wiki/GSoC-2014-Ideas.md

64 lines
3.7 KiB
Markdown
Raw Normal View History

2014-02-10 20:48:10 +00:00
# Introduction
2014-02-10 22:52:48 +00:00
Below is a list of project ideas for the 2014 GSoC Application for Nimrod. You will need to spend a considerable amount of time experimenting with the Nimrod programming language before you attempt these projects.
2014-02-10 20:48:10 +00:00
# Projects
## Compiler
2014-02-10 23:00:20 +00:00
**Add support for full coroutines**
* Full coroutines in contrast to Nimrod's closure iterators can capture the full call stack.
* Needs inline assembler to implement the stack switching.
* The GC needs to support conservative marking of multiple stacks
* In particular the write barrier in the GC which does the 'isOnStack' check needs to be changed.
* Using a bloom filter for quick testing whether an address belongs to some stack is likely to pay off.
* Creating a coroutine needs to register a new stack to the GC.
* Deleting a coroutine needs to unregister the stack to the GC.
* Builtin 'yld' must save the current stack pointer so that the GC knows which part of the stack is really in use.
2014-02-10 23:09:38 +00:00
**Add a code generator for OpenCL**
2014-02-10 22:43:32 +00:00
**Fix bugs with iterators/generics**
2014-02-10 23:03:46 +00:00
...
2014-02-10 22:43:32 +00:00
**Fix/Expand Compiler as a Service features**
2014-02-11 00:14:00 +00:00
* Provide commands to execute macros. Allow for IDEs to quickly get the code they generate with different inputs.
2014-02-10 23:03:46 +00:00
**Allow bootstrap-time integration of the nimrod executable with the standard library**
* Allow the nimrod bootstrap process to integrate the nimrod standard library source code and other associated resources into the nimrod binary, to be used by the nimrod binary when compiling source code. The included library modules should be overridable, either by a switch passed to the nimrod executable, or by placing an actually library file in a pre-determined path.
2014-02-10 20:48:10 +00:00
## Standard Library
2014-02-10 22:43:32 +00:00
**Integrate and expand new async io module**
2014-02-10 22:25:41 +00:00
2014-02-10 22:43:32 +00:00
**Enhance the filesystem monitoring module "fsmonitor.nim"**
2014-02-10 22:35:56 +00:00
* Allow the fsmonitor module to work on Windows by using native api's to gather information about changes in monitored files and directories.
* Revise the fsmonitor module api to decouple unix/linux file handle paradigms (such as using sockets.poll) from the api, allowing easier implementations of native backends.
* Integrate the fsmonitor module's polling mechanism into the new asynchronous io modules.
2014-02-10 22:25:41 +00:00
2014-02-10 22:43:32 +00:00
**Add a cross-platform stat()-like procedure to the operating system module "os.nim"**
2014-02-10 22:35:56 +00:00
* Implement a procedure which uses native stat-like calls on Linux, Mac, Windows, and other operating systems to gather detailed information about specific file system objects. Allow the bypassing of symlinks and hardlinks, where possible.
2014-02-10 22:43:32 +00:00
**Enhance and expand standard library documentation**
2014-02-10 22:35:56 +00:00
* Ensure that documentation exists for all public methods and modules
* Create and design new CSS and HTML layouts for the documentation, to better fit with the main website
* Add search capabilities to the documentation
2014-02-10 20:48:10 +00:00
2014-02-10 23:04:29 +00:00
**Add documentation to the nimrod compiler internals**
* Add comments to the compiler internals, documenting the various mechansisms and mechanics the compiler uses to analyze and transform nimrod code to the code of the specified backend.
2014-02-11 00:18:18 +00:00
**Improve times module**
* Fix limitations to do with time intervals, specifically subtracting a TTimeInterval from a TTimeInfo.
* Provide a ``$`` for TTimeInterval. Goal is to be able to get timing info like "5 minutes ago".
2014-02-11 00:19:05 +00:00
**Wrap and test the Qt framework**
2014-02-10 22:10:31 +00:00
## Tools & Infrastructure
2014-02-10 22:49:58 +00:00
**Update and refactor nimrod builder**
* Reduce the number of assumptions the nimrod builder makes about its host system, in order to reduce configuration restrictions. Assumptions include location and usage of external tools, such as git.
**Implement re2nim, a lexer generator for nimrod**
* Model it after re2c or the Ragel state machine generator
**Implement a Nimrod backend for the Ragel state machine generator**
* http://www.complang.org/ragel/
2014-02-10 22:54:51 +00:00