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 @@)
|
|
|
|
- rescue RuntimeError in 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.
|
|
|
|
* `exception' method to be alternative for `$!'. ??
|
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-05-12 05:07:57 -04:00
|
|
|
* generational GC ?? (is it possible?)
|
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
|
|
|
|
- SyntaxError, NameError, LoadError and NotImplementError are subclasses of
|
|
|
|
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-24 00:34:26 -04:00
|
|
|
- call initialize for builtin classes too (not yet: Class, Module)
|
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
|
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
|
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-01-31 22:12:21 -05:00
|
|
|
* publish Ruby books in English
|
2000-05-18 00:32:13 -04:00
|
|
|
|
|
|
|
Things To Do Before 1.6
|
|
|
|
|
|
|
|
* fix spec. for the following:
|
|
|
|
|
|
|
|
* alternative for $! (exception? in? into? =>?)
|
|
|
|
* alternative for interator?
|
2000-05-24 00:34:26 -04:00
|
|
|
- regex - /p, /m
|
2000-05-18 00:32:13 -04:00
|
|
|
* odd? even?
|
|
|
|
* mkmf.rb - create_makefile("net/socket")
|