Updated Feature suggestions (markdown)
This commit is contained in:
parent
d904cf0dea
commit
bef2d4ad7e
|
@ -1,44 +1,46 @@
|
||||||
What features would you like to see in Nimrod or the Nimrod Ecosystem:
|
What features would you like to see in Nimrod or the Nimrod Ecosystem:
|
||||||
|
|
||||||
- lightweight threads with network io multiplexed.
|
- lightweight threads with network io multiplexed.
|
||||||
- if Nimrod had something like goroutine (ie multiplexed on networking and use native threads for other syscalls), then it will be ultimate language for server programming.
|
- if Nimrod had something like goroutine (ie multiplexed on networking and use native threads for other syscalls), then it will be ultimate language for server programming.
|
||||||
|
|
||||||
- <del>gem like functionality (gem install sinatra)</del>
|
- <del>gem like functionality (gem install sinatra)</del>
|
||||||
- [babel](https://github.com/nimrod-code/babel)
|
- [babel](https://github.com/nimrod-code/babel)
|
||||||
|
|
||||||
- A cookbook site similar to Python, where users can share code,
|
- A cookbook site similar to Python, where users can share code,
|
||||||
mostly snippets. Driven by normal users rather by experts-only.
|
mostly snippets. Driven by normal users rather by experts-only.
|
||||||
|
|
||||||
- A wiki functionality for parts of the documentation so that
|
- A wiki functionality for parts of the documentation so that
|
||||||
users could update the documentation in a simple way (and Araq
|
users could update the documentation in a simple way (and Araq
|
||||||
could take these suggestions and approve or reject them
|
could take these suggestions and approve or reject them
|
||||||
quickly).
|
quickly).
|
||||||
|
|
||||||
- A pastebin for nimrod on the Nimrod Homepage or somewhere else.
|
- A pastebin for nimrod on the Nimrod Homepage or somewhere else.
|
||||||
|
|
||||||
- Allow multiple ranges (eg 1..3,5..8), handle reverse ranges (eg 5..1, 3.. -3)
|
- Allow multiple ranges (eg 1..3,5..8), handle reverse ranges (eg 5..1, 3.. -3)
|
||||||
|
|
||||||
- echo automatically handle simple display of sequences (similar to repr)
|
- echo automatically handle simple display of sequences (similar to repr)
|
||||||
|
|
||||||
- vector and matrix maths (or include a port of an existing library)
|
- vector and matrix maths (or include a port of an existing library)
|
||||||
|
|
||||||
- include a do while loop (or equivalent)
|
- include a do while loop (or equivalent)
|
||||||
|
|
||||||
- % formating extended to include math precision (like provided by formatFloat, but in a concise % syntax way)
|
- % formating extended to include math precision (like provided by formatFloat, but in a concise % syntax way)
|
||||||
|
|
||||||
- easier sorting, that doesn't need wrestling with types.
|
- easier sorting, that doesn't need wrestling with types.
|
||||||
|
|
||||||
- a ternary condition - like ?: in C, or iif()
|
- a ternary condition - like ?: in C, or iif()
|
||||||
- You can do: ``if cond: a else: b``, IIRC the ``?:`` won't make it into Nimrod.
|
- You can do: ``if cond: a else: b``, IIRC the ``?:`` won't make it into Nimrod.
|
||||||
|
|
||||||
- a simple way of indexing the last element of an array or sequence, to avoid long-hand code like ``arr[arr.len-1]``
|
- a simple way of indexing the last element of an array or sequence, to avoid long-hand code like ``arr[arr.len-1]``
|
||||||
- You can do: ``arr[arr.high]`` or ``arr[arr.low]`` for indexing the last and first element or an array or sequence.
|
- You can do: ``arr[arr.high]`` or ``arr[arr.low]`` for indexing the last and first element or an array or sequence.
|
||||||
|
|
||||||
- a shorthand way of discarding the return value of a proc (to improve readability)
|
- a shorthand way of discarding the return value of a proc (to improve readability)
|
||||||
|
|
||||||
- a shorthand initialization of arrays or sequences, eg var x: array[0..25, int] = -1
|
- a shorthand initialization of arrays or sequences, eg var x: array[0..25, int] = -1
|
||||||
would initialize all elements of x to -1
|
would initialize all elements of x to -1
|
||||||
|
|
||||||
- array/sequence comprehension
|
- array/sequence comprehension
|
||||||
|
|
||||||
- introspection like python's dir()
|
- introspection like python's dir()
|
||||||
|
|
||||||
|
- scoped imports, like D, Ada, and Ocaml
|
Loading…
Reference in New Issue