1999-01-19 23:59:39 -05:00
|
|
|
Language Spec.
|
|
|
|
|
1999-10-13 02:44:42 -04:00
|
|
|
- def foo; .. rescue .. end
|
1999-10-15 04:52:18 -04:00
|
|
|
- compile time string concatenation, "hello" "world" => "helloworld"
|
1999-11-25 04:03:08 -05:00
|
|
|
- rescue modifier; a rescue b => begin a rescue; b end
|
2000-01-31 22:12:21 -05:00
|
|
|
- %w(a\ b\ c abc) => ["a b c", "abc"]
|
2000-03-08 01:25:19 -05:00
|
|
|
- objectify symbols
|
2000-03-23 03:37:35 -05:00
|
|
|
- class variable (prefix @@)
|
2000-07-06 23:20:53 -04:00
|
|
|
- rescue RuntimeError => err
|
2000-01-31 22:12:21 -05:00
|
|
|
* operator !! for rescue. ???
|
1999-10-29 05:25:48 -04:00
|
|
|
* objectify characters
|
1999-08-13 01:45:20 -04:00
|
|
|
* ../... outside condition invokes operator method too.
|
1999-11-17 02:30:37 -05:00
|
|
|
* ... inside condition turns off just before right condition.???
|
|
|
|
* package or access control for global variables??
|
1999-08-13 01:45:20 -04:00
|
|
|
* named arguments like foo(nation:="german") or foo(nation: "german").
|
2000-01-31 22:12:21 -05:00
|
|
|
* method to retrieve argument information (needs new C API)
|
1999-08-13 01:45:20 -04:00
|
|
|
* multiple return values, yield values. maybe incompatible ???
|
|
|
|
* cascading method invocation ???
|
|
|
|
* def Class#method .. end ??
|
|
|
|
* class Foo::Bar<Baz .. end, module Boo::Bar .. end
|
|
|
|
* def Foo::Bar::baz() .. end ??
|
2000-01-31 22:12:21 -05:00
|
|
|
* I18N (or M17N) script/string/regexp
|
2000-02-18 01:59:36 -05:00
|
|
|
* Fixnum 0 as false ????
|
2000-02-29 03:05:32 -05:00
|
|
|
* discourage use of symbol variable (e.g. $/, etc.) in manual
|
2000-03-23 03:37:35 -05:00
|
|
|
* discourage use of Perlish features by giving warnings.
|
2000-05-30 00:24:17 -04:00
|
|
|
* non confusing in-block local variable (is it possible?)
|
2000-06-12 03:48:31 -04:00
|
|
|
+ remove scope by block
|
|
|
|
+ variables appears within block may have independent values.
|
2000-12-05 04:36:54 -05:00
|
|
|
* Regexp: make /o thread safe.
|
|
|
|
* decide if begin with rescue or ensure make do..while loop.
|
2000-12-12 02:42:35 -05:00
|
|
|
* a +1 to be a+1, not a(+1).
|
2000-12-28 00:00:47 -05:00
|
|
|
* unify == and eql? again
|
|
|
|
* to_i returns nil if str contains no digit.
|
1999-01-19 23:59:39 -05:00
|
|
|
|
|
|
|
Hacking Interpreter
|
|
|
|
|
1999-10-21 03:52:15 -04:00
|
|
|
- use eban's fnmatch
|
|
|
|
- RUBYOPT environment variable
|
1999-11-17 02:30:37 -05:00
|
|
|
- alias $defout $>
|
2000-01-31 22:12:21 -05:00
|
|
|
- retrieve STACK_LEVEL_MAX from users' limit.
|
|
|
|
- remove end_proc registered out of require only
|
|
|
|
- all object made freezable
|
1999-10-15 04:52:18 -04:00
|
|
|
* non-blocking open (e.g. for named pipe) for thread
|
2000-03-23 03:37:35 -05:00
|
|
|
* avoid blocking with gethostbyname/gethostbyaddr (use fork ???)
|
2000-04-10 01:48:43 -04:00
|
|
|
* objectify interpreters ???
|
1999-01-19 23:59:39 -05:00
|
|
|
* remove rb_eval() recursions
|
|
|
|
* syntax tree -> bytecode ???
|
|
|
|
* scrambled script, or script filter
|
1999-08-13 01:45:20 -04:00
|
|
|
* setuid ruby
|
2000-04-10 01:48:43 -04:00
|
|
|
* performance tune for in-block (dynamic) local variables.
|
2000-12-05 04:36:54 -05:00
|
|
|
* generational GC
|
2000-06-13 05:42:40 -04:00
|
|
|
* give warnings to assign magic variables.
|
2000-06-19 04:38:11 -04:00
|
|
|
* export rb_io_{addstr,printf,puts,print}
|
2000-08-28 05:53:42 -04:00
|
|
|
* autoload should work with threads [ruby-talk:4589]
|
2000-12-05 04:36:54 -05:00
|
|
|
* remove stdio dependency from IOs.
|
2000-12-25 01:29:27 -05:00
|
|
|
* warn for inconsistent local variable usage (lv m and method m at the same time).
|
1999-08-13 01:45:20 -04:00
|
|
|
|
|
|
|
Standard Libraries
|
|
|
|
|
2000-03-23 03:37:35 -05:00
|
|
|
- hash[key] = nil does not remove entry; hashes may have nil as the value.
|
1999-10-15 04:52:18 -04:00
|
|
|
- hash.fetch(key) raises exception if key is not found.
|
1999-10-13 02:44:42 -04:00
|
|
|
- Array#{first,last,at}
|
|
|
|
- Dir.glob(pat){|f|...}
|
1999-11-10 23:08:26 -05:00
|
|
|
- sprintf/printf's $ to specify argument order
|
1999-11-25 04:03:08 -05:00
|
|
|
- Dir.glob("**/*.c") ala zsh
|
1999-12-07 04:25:55 -05:00
|
|
|
- Remove Enumerable#{size,length}
|
2000-01-31 22:12:21 -05:00
|
|
|
- Array#slice, Array#slice!
|
|
|
|
- String#slice, String#slice!
|
|
|
|
- Marshal should handle generic instance variables.
|
|
|
|
- debugger for thread programming
|
2000-08-31 01:29:54 -04:00
|
|
|
- SyntaxError, NameError, LoadError and NotImplementedError are subclasses of
|
2000-01-31 22:12:21 -05:00
|
|
|
ScriptError<Exception, not StandardError.
|
2000-02-08 03:54:01 -05:00
|
|
|
- Thread::start gives arguments, not a thread object to the block
|
2000-02-18 01:59:36 -05:00
|
|
|
- regexp: (?>..), \G
|
|
|
|
- Struct::new([name,]member,...)
|
2000-02-29 03:05:32 -05:00
|
|
|
- IO#reopen accepts path as well
|
2000-03-08 01:25:19 -05:00
|
|
|
- Kernel#scan
|
2000-05-30 00:24:17 -04:00
|
|
|
- call initialize for builtin classes too
|
2000-03-23 03:37:35 -05:00
|
|
|
- performance tune for String's non-bang methods.
|
2000-05-12 05:07:57 -04:00
|
|
|
- 'w' template for pack/unpack
|
2000-05-30 00:24:17 -04:00
|
|
|
- alternative for interator? => block_given?
|
2000-12-05 04:36:54 -05:00
|
|
|
- regex - /p (made obsolete), /m (new)
|
2000-07-04 00:17:26 -04:00
|
|
|
- consistent /, %, divmod
|
2000-07-15 09:37:03 -04:00
|
|
|
- unbound method object
|
|
|
|
- integrate final.rb into the core.
|
2000-07-04 00:17:26 -04:00
|
|
|
* Enumerable#sort_by for Schwartzian transformation
|
1999-08-13 01:45:20 -04:00
|
|
|
* String#scanf(?)
|
|
|
|
* Object#fmt(?)
|
2000-02-08 03:54:01 -05:00
|
|
|
* Integer#{bin,oct,hex,heX}
|
1999-08-13 01:45:20 -04:00
|
|
|
* Time::strptime
|
|
|
|
* Integer[num], Float[num]; Fixnum[num]?
|
1999-10-21 03:52:15 -04:00
|
|
|
* method to retrieve non-number trailer for to_i/to_f.
|
1999-08-13 01:45:20 -04:00
|
|
|
* Stream or Port, abstract superclass of IO ?
|
|
|
|
* String#{pred,prev}, String#downto
|
|
|
|
* optional stepsize argument for succ()
|
2000-02-24 22:51:23 -05:00
|
|
|
* Ruby module -- Ruby::Version, Ruby::Interpreter
|
2000-05-25 01:55:12 -04:00
|
|
|
* introduce Boolean class; super of TrueClass, FalseClass
|
2000-08-24 02:21:43 -04:00
|
|
|
* Process::waitall [ruby-talk:4557]
|
2000-08-28 22:52:41 -04:00
|
|
|
* synchronized method - synchronized{...}, synchronized :foo, :bar
|
2000-09-07 02:59:46 -04:00
|
|
|
* move Time::times to Process.
|
2000-12-08 02:10:38 -05:00
|
|
|
- Module#define_method which takes a name and a body (block, proc or method).
|
|
|
|
* IO#for_fd in general
|
|
|
|
* Array#&, Array#| to allow duplication. ???
|
|
|
|
- fork_and_kill_other_threads.
|
2000-12-12 02:42:35 -05:00
|
|
|
* way to specify immortal (fork endurance) thread;
|
|
|
|
* or raise ForkException to every thread but fork caller.
|
|
|
|
* Array#fetch
|
1999-01-19 23:59:39 -05:00
|
|
|
|
|
|
|
Extension Libraries
|
|
|
|
|
1999-10-13 02:44:42 -04:00
|
|
|
- FastCGI ruby
|
1999-01-19 23:59:39 -05:00
|
|
|
* ptk.rb pTk wrapper that is compatible to tk.rb
|
1999-10-29 05:25:48 -04:00
|
|
|
* Berkeley DB extension
|
2000-02-18 01:59:36 -05:00
|
|
|
* BitVector
|
1999-01-19 23:59:39 -05:00
|
|
|
|
|
|
|
Ruby Libraries
|
|
|
|
|
2000-01-31 22:12:21 -05:00
|
|
|
- net/http.rb
|
2000-05-18 00:32:13 -04:00
|
|
|
* add uri.rb
|
2000-01-31 22:12:21 -05:00
|
|
|
* urllib.rb, nttplib.rb, etc.
|
1999-01-19 23:59:39 -05:00
|
|
|
* format like perl's
|
|
|
|
|
|
|
|
Tools
|
|
|
|
|
2000-01-31 22:12:21 -05:00
|
|
|
- extension library maker using SWIG
|
1999-01-19 23:59:39 -05:00
|
|
|
* freeze or undump to bundle everything
|
|
|
|
|
|
|
|
Misc
|
|
|
|
|
1999-10-13 02:44:42 -04:00
|
|
|
- publish Ruby books
|
2000-12-05 04:36:54 -05:00
|
|
|
- publish Ruby books in English
|