1999-01-20 07:59:39 +03:00
|
|
|
Language Spec.
|
|
|
|
|
1999-10-13 10:44:42 +04:00
|
|
|
- def foo; .. rescue .. end
|
1999-10-15 12:52:18 +04:00
|
|
|
- compile time string concatenation, "hello" "world" => "helloworld"
|
1999-11-25 12:03:08 +03:00
|
|
|
- rescue modifier; a rescue b => begin a rescue; b end
|
2000-02-01 06:12:21 +03:00
|
|
|
- %w(a\ b\ c abc) => ["a b c", "abc"]
|
2000-03-08 09:25:19 +03:00
|
|
|
- objectify symbols
|
2000-03-23 11:37:35 +03:00
|
|
|
- class variable (prefix @@)
|
2000-07-07 07:20:53 +04:00
|
|
|
- rescue RuntimeError => err
|
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 ??
|
|
|
|
* class Foo::Bar<Baz .. end, module Boo::Bar .. end
|
|
|
|
* def Foo::Bar::baz() .. end ??
|
2000-02-01 06:12:21 +03:00
|
|
|
* I18N (or M17N) script/string/regexp
|
2000-02-18 09:59:36 +03:00
|
|
|
* Fixnum 0 as false ????
|
2000-02-29 11:05:32 +03:00
|
|
|
* discourage use of symbol variable (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.
|
|
|
|
* decide if begin with rescue or ensure make do..while loop.
|
1999-01-20 07:59:39 +03:00
|
|
|
|
|
|
|
Hacking Interpreter
|
|
|
|
|
1999-10-21 11:52:15 +04:00
|
|
|
- use eban's fnmatch
|
|
|
|
- RUBYOPT environment variable
|
1999-11-17 10:30:37 +03:00
|
|
|
- alias $defout $>
|
2000-02-01 06:12:21 +03:00
|
|
|
- retrieve STACK_LEVEL_MAX from users' limit.
|
|
|
|
- remove end_proc registered out of require only
|
|
|
|
- all object made freezable
|
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-12-05 12:36:54 +03:00
|
|
|
* generational GC
|
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.
|
1999-08-13 09:45:20 +04:00
|
|
|
|
|
|
|
Standard Libraries
|
|
|
|
|
2000-03-23 11:37:35 +03:00
|
|
|
- hash[key] = nil does not remove entry; hashes may have nil as the value.
|
1999-10-15 12:52:18 +04:00
|
|
|
- hash.fetch(key) raises exception if key is not found.
|
1999-10-13 10:44:42 +04:00
|
|
|
- Array#{first,last,at}
|
|
|
|
- Dir.glob(pat){|f|...}
|
1999-11-11 07:08:26 +03:00
|
|
|
- sprintf/printf's $ to specify argument order
|
1999-11-25 12:03:08 +03:00
|
|
|
- Dir.glob("**/*.c") ala zsh
|
1999-12-07 12:25:55 +03:00
|
|
|
- Remove Enumerable#{size,length}
|
2000-02-01 06:12:21 +03:00
|
|
|
- Array#slice, Array#slice!
|
|
|
|
- String#slice, String#slice!
|
|
|
|
- Marshal should handle generic instance variables.
|
|
|
|
- debugger for thread programming
|
2000-08-31 09:29:54 +04:00
|
|
|
- SyntaxError, NameError, LoadError and NotImplementedError are subclasses of
|
2000-02-01 06:12:21 +03:00
|
|
|
ScriptError<Exception, not StandardError.
|
2000-02-08 11:54:01 +03:00
|
|
|
- Thread::start gives arguments, not a thread object to the block
|
2000-02-18 09:59:36 +03:00
|
|
|
- regexp: (?>..), \G
|
|
|
|
- Struct::new([name,]member,...)
|
2000-02-29 11:05:32 +03:00
|
|
|
- IO#reopen accepts path as well
|
2000-03-08 09:25:19 +03:00
|
|
|
- Kernel#scan
|
2000-05-30 08:24:17 +04:00
|
|
|
- call initialize for builtin classes too
|
2000-03-23 11:37:35 +03:00
|
|
|
- performance tune for String's non-bang methods.
|
2000-05-12 13:07:57 +04:00
|
|
|
- 'w' template for pack/unpack
|
2000-05-30 08:24:17 +04:00
|
|
|
- alternative for interator? => block_given?
|
2000-12-05 12:36:54 +03:00
|
|
|
- regex - /p (made obsolete), /m (new)
|
2000-07-04 08:17:26 +04:00
|
|
|
- consistent /, %, divmod
|
2000-07-15 17:37:03 +04:00
|
|
|
- unbound method object
|
|
|
|
- integrate final.rb into the core.
|
2000-07-04 08:17:26 +04:00
|
|
|
* Enumerable#sort_by for Schwartzian transformation
|
1999-08-13 09:45:20 +04:00
|
|
|
* String#scanf(?)
|
|
|
|
* Object#fmt(?)
|
2000-02-08 11:54:01 +03:00
|
|
|
* Integer#{bin,oct,hex,heX}
|
1999-08-13 09:45:20 +04:00
|
|
|
* 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-24 10:21:43 +04:00
|
|
|
* Process::waitall [ruby-talk:4557]
|
2000-08-29 06:52:41 +04:00
|
|
|
* synchronized method - synchronized{...}, synchronized :foo, :bar
|
2000-09-07 10:59:46 +04:00
|
|
|
* move Time::times to Process.
|
2000-12-05 12:36:54 +03:00
|
|
|
* Module#define_method which takes a name and a body (block, proc or method).
|
1999-01-20 07:59:39 +03:00
|
|
|
|
|
|
|
Extension Libraries
|
|
|
|
|
1999-10-13 10:44:42 +04:00
|
|
|
- FastCGI ruby
|
1999-01-20 07:59:39 +03:00
|
|
|
* 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
|
1999-01-20 07:59:39 +03:00
|
|
|
|
|
|
|
Ruby Libraries
|
|
|
|
|
2000-02-01 06:12:21 +03:00
|
|
|
- net/http.rb
|
2000-05-18 08:32:13 +04:00
|
|
|
* add uri.rb
|
2000-02-01 06:12:21 +03:00
|
|
|
* urllib.rb, nttplib.rb, etc.
|
1999-01-20 07:59:39 +03:00
|
|
|
* format like perl's
|
|
|
|
|
|
|
|
Tools
|
|
|
|
|
2000-02-01 06:12:21 +03:00
|
|
|
- extension library maker using SWIG
|
1999-01-20 07:59:39 +03:00
|
|
|
* freeze or undump to bundle everything
|
|
|
|
|
|
|
|
Misc
|
|
|
|
|
1999-10-13 10:44:42 +04:00
|
|
|
- publish Ruby books
|
2000-12-05 12:36:54 +03:00
|
|
|
- publish Ruby books in English
|