1999-01-20 07:59:39 +03:00
|
|
|
Language Spec.
|
|
|
|
|
2001-10-16 07:27:23 +04:00
|
|
|
- Class#allocate - basicNew
|
2003-05-08 13:45:52 +04:00
|
|
|
- class Foo::Bar<Baz .. end, module Boo::Bar .. end
|
2004-04-05 19:55:09 +04:00
|
|
|
- raise exception by `` error
|
|
|
|
- a +1 to be a+1, not a(+1).
|
|
|
|
- clarify evaluation order of operator argument (=~, .., ...)
|
|
|
|
- :symbol => value hash in the form of {symbol: value, ...} ??
|
2000-02-01 06:12:21 +03:00
|
|
|
* operator !! for rescue. ???
|
1999-10-29 13:25:48 +04:00
|
|
|
* objectify characters
|
1999-08-13 09:45:20 +04:00
|
|
|
* ../... outside condition invokes operator method too.
|
1999-11-17 10:30:37 +03:00
|
|
|
* ... inside condition turns off just before right condition.???
|
|
|
|
* package or access control for global variables??
|
1999-08-13 09:45:20 +04:00
|
|
|
* named arguments like foo(nation:="german") or foo(nation: "german").
|
2000-02-01 06:12:21 +03:00
|
|
|
* method to retrieve argument information (needs new C API)
|
1999-08-13 09:45:20 +04:00
|
|
|
* multiple return values, yield values. maybe incompatible ???
|
|
|
|
* cascading method invocation ???
|
|
|
|
* def Class#method .. end ??
|
|
|
|
* def Foo::Bar::baz() .. end ??
|
2000-02-01 06:12:21 +03:00
|
|
|
* I18N (or M17N) script/string/regexp
|
2001-01-09 11:04:39 +03:00
|
|
|
* discourage use of symbol variables (e.g. $/, etc.) in manual
|
2000-03-23 11:37:35 +03:00
|
|
|
* discourage use of Perlish features by giving warnings.
|
2000-05-30 08:24:17 +04:00
|
|
|
* non confusing in-block local variable (is it possible?)
|
2000-06-12 11:48:31 +04:00
|
|
|
+ remove scope by block
|
|
|
|
+ variables appears within block may have independent values.
|
2000-12-05 12:36:54 +03:00
|
|
|
* Regexp: make /o thread safe.
|
2001-02-16 10:53:21 +03:00
|
|
|
* decide whether begin with rescue or ensure make do..while loop.
|
2000-12-28 08:00:47 +03:00
|
|
|
* unify == and eql? again
|
|
|
|
* to_i returns nil if str contains no digit.
|
2001-10-16 07:27:23 +04:00
|
|
|
* jar like combined library package. -> RubyGems?
|
2001-08-20 08:29:58 +04:00
|
|
|
* method combination, e.g. before, after, around, etc.
|
2001-09-19 10:54:11 +04:00
|
|
|
* .. or something like defadvice in Emacs.
|
2001-10-16 07:27:23 +04:00
|
|
|
* property - for methods, or for objects in general.
|
2001-11-19 08:03:03 +03:00
|
|
|
* "in" modifier, to annotate, or to encourage assertion.
|
2002-08-29 13:08:18 +04:00
|
|
|
* selector namespace - something like generic-flet in CLOS, to help RubyBehavior
|
2002-01-11 12:18:54 +03:00
|
|
|
* private instance variable (as in Python?) @_foo in class Foo => @_Foo_foo
|
2002-01-19 17:22:27 +03:00
|
|
|
* warn/error "bare word" method, like "foo", you should type "foo()"
|
1999-01-20 07:59:39 +03:00
|
|
|
|
|
|
|
Hacking Interpreter
|
|
|
|
|
2001-01-09 10:26:21 +03:00
|
|
|
- generational GC
|
1999-10-15 12:52:18 +04:00
|
|
|
* non-blocking open (e.g. for named pipe) for thread
|
2000-03-23 11:37:35 +03:00
|
|
|
* avoid blocking with gethostbyname/gethostbyaddr (use fork ???)
|
2000-04-10 09:48:43 +04:00
|
|
|
* objectify interpreters ???
|
1999-01-20 07:59:39 +03:00
|
|
|
* remove rb_eval() recursions
|
|
|
|
* syntax tree -> bytecode ???
|
|
|
|
* scrambled script, or script filter
|
1999-08-13 09:45:20 +04:00
|
|
|
* setuid ruby
|
2000-04-10 09:48:43 +04:00
|
|
|
* performance tune for in-block (dynamic) local variables.
|
2000-06-13 13:42:40 +04:00
|
|
|
* give warnings to assign magic variables.
|
2000-06-19 12:38:11 +04:00
|
|
|
* export rb_io_{addstr,printf,puts,print}
|
2000-08-28 13:53:42 +04:00
|
|
|
* autoload should work with threads [ruby-talk:4589]
|
2000-12-05 12:36:54 +03:00
|
|
|
* remove stdio dependency from IOs.
|
2000-12-25 09:29:27 +03:00
|
|
|
* warn for inconsistent local variable usage (lv m and method m at the same time).
|
2001-01-09 10:26:21 +03:00
|
|
|
* MicroRuby
|
2001-01-18 11:43:14 +03:00
|
|
|
* Built-in Interactive Ruby.
|
2001-10-16 07:27:23 +04:00
|
|
|
* Parser API
|
2001-03-06 11:17:54 +03:00
|
|
|
* trap every method invocation, which can be enabled by e.g. trap_call :method.
|
2001-05-02 08:22:21 +04:00
|
|
|
* unify Errno exceptions of same errno, or new exception comparison scheme.
|
|
|
|
* 2.times{|i| if i==0 then a = 15 else puts eval("a") end} should print nil.
|
2002-01-23 10:30:43 +03:00
|
|
|
* Thread#max_stack_size attribute (possible??)
|
1999-08-13 09:45:20 +04:00
|
|
|
|
|
|
|
Standard Libraries
|
|
|
|
|
2001-01-09 10:26:21 +03:00
|
|
|
- Module#define_method which takes a name and a body (block, proc or method).
|
2001-01-09 11:04:39 +03:00
|
|
|
- Enume#inject
|
2001-02-02 14:38:20 +03:00
|
|
|
- Array#fetch
|
2001-02-13 08:09:11 +03:00
|
|
|
- IO::for_fd
|
2001-02-16 10:53:21 +03:00
|
|
|
- Process::waitall [ruby-talk:4557]
|
|
|
|
- Process::Status
|
|
|
|
- File::lchown, File::lchmod; xxx - still need work for non existing platforms
|
|
|
|
- move Time::times to Process.
|
2001-09-05 10:54:57 +04:00
|
|
|
- Enumerable#sort_by for Schwartzian transformation
|
|
|
|
- fork_and_kill_other_threads.
|
|
|
|
- signal list (Signal::trap, Signal::list).
|
2001-11-19 08:03:03 +03:00
|
|
|
- move NameError under StandardError.
|
2001-12-10 10:18:16 +03:00
|
|
|
- Integer#to_s(base)
|
|
|
|
- Hash::new{default}
|
|
|
|
- hash etc. should handle self referenceing array/hash
|
2001-12-11 06:48:08 +03:00
|
|
|
- Array#select(n1,n2...) works like Array#indexes(n1,n2...)
|
2002-07-26 10:12:39 +04:00
|
|
|
- use Mersenne Twister RNG for random.
|
2003-05-08 13:45:52 +04:00
|
|
|
- deprecate Array#indexes, and Array#indices.
|
|
|
|
- remove dependency on MAXPATHLEN.
|
2004-04-05 19:55:09 +04:00
|
|
|
- String#scanf(?)
|
1999-08-13 09:45:20 +04:00
|
|
|
* Object#fmt(?)
|
|
|
|
* Time::strptime
|
|
|
|
* Integer[num], Float[num]; Fixnum[num]?
|
1999-10-21 11:52:15 +04:00
|
|
|
* method to retrieve non-number trailer for to_i/to_f.
|
1999-08-13 09:45:20 +04:00
|
|
|
* Stream or Port, abstract superclass of IO ?
|
|
|
|
* String#{pred,prev}, String#downto
|
|
|
|
* optional stepsize argument for succ()
|
2000-02-25 06:51:23 +03:00
|
|
|
* Ruby module -- Ruby::Version, Ruby::Interpreter
|
2000-05-25 09:55:12 +04:00
|
|
|
* introduce Boolean class; super of TrueClass, FalseClass
|
2000-08-29 06:52:41 +04:00
|
|
|
* synchronized method - synchronized{...}, synchronized :foo, :bar
|
2000-12-08 10:10:38 +03:00
|
|
|
* Array#&, Array#| to allow duplication. ???
|
2000-12-12 10:42:35 +03:00
|
|
|
* way to specify immortal (fork endurance) thread;
|
|
|
|
* or raise ForkException to every thread but fork caller.
|
2001-02-08 12:19:27 +03:00
|
|
|
* new user-defined marshal scheme. _dump(dumper), _load(restorer)
|
2001-05-11 09:24:59 +04:00
|
|
|
* library to load per-user profile seeking .ruby_profile or ruby.ini file.
|
2001-09-05 10:54:57 +04:00
|
|
|
* warning framework (warn, warning for Ruby level)
|
2002-05-14 10:22:31 +04:00
|
|
|
* marshal should not depend on sprintf (works bad with locale).
|
2001-09-19 10:54:11 +04:00
|
|
|
* ternary arg pow: a.pow(b,c) == a**b%c
|
2001-10-16 07:27:23 +04:00
|
|
|
* new caller(), e.g. call_stack; needs better name.
|
2001-11-19 08:03:03 +03:00
|
|
|
* pointer share mechanism similar to one in String for Array.
|
2001-12-18 11:47:06 +03:00
|
|
|
* require "1.6" etc. by /usr/lib/ruby/1.6/1.6.rb ;-)
|
2002-05-07 12:32:01 +04:00
|
|
|
* save both "feature names" and "normalized path" in $"
|
2003-05-08 13:45:52 +04:00
|
|
|
* implement Mutex_m (or MutexMixin) using Mutex.
|
1999-01-20 07:59:39 +03:00
|
|
|
|
|
|
|
Extension Libraries
|
|
|
|
|
|
|
|
* ptk.rb pTk wrapper that is compatible to tk.rb
|
1999-10-29 13:25:48 +04:00
|
|
|
* Berkeley DB extension
|
2000-02-18 09:59:36 +03:00
|
|
|
* BitVector
|
2001-03-05 11:33:16 +03:00
|
|
|
* thread-safe fcgi
|
1999-01-20 07:59:39 +03:00
|
|
|
|
|
|
|
Ruby Libraries
|
|
|
|
|
2004-04-05 19:55:09 +04:00
|
|
|
- urllib.rb, nttplib.rb, etc.
|
1999-01-20 07:59:39 +03:00
|
|
|
* format like perl's
|
|
|
|
|
|
|
|
Tools
|
|
|
|
|
|
|
|
* freeze or undump to bundle everything
|
2001-10-02 08:31:23 +04:00
|
|
|
* bundle using zlib
|