From e68f544351359c62da09401ae2382ce33aabf741 Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 23 Mar 2000 08:37:35 +0000 Subject: 2000-03-23 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ToDo | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'ToDo') diff --git a/ToDo b/ToDo index 20207c4d2..3bdc5ab99 100644 --- a/ToDo +++ b/ToDo @@ -5,7 +5,8 @@ Language Spec. - rescue modifier; a rescue b => begin a rescue; b end - %w(a\ b\ c abc) => ["a b c", "abc"] - objectify symbols -- class variable (prefix @@) - still need work for singletons +- class variable (prefix @@) +- rescue RuntimeError in err ?? * operator !! for rescue. ??? * objectify characters * ../... outside condition invokes operator method too. @@ -21,6 +22,8 @@ Language Spec. * I18N (or M17N) script/string/regexp * Fixnum 0 as false ???? * discourage use of symbol variable (e.g. $/, etc.) in manual +* discourage use of Perlish features by giving warnings. +* `exception' method to be alternative for `$!'. ?? Hacking Interpreter @@ -31,7 +34,7 @@ Hacking Interpreter - remove end_proc registered out of require only - all object made freezable * non-blocking open (e.g. for named pipe) for thread -* avoid blocking with gethostbyname/gethostbyaddr +* avoid blocking with gethostbyname/gethostbyaddr (use fork ???) * objectify interpreters * remove rb_eval() recursions * syntax tree -> bytecode ??? @@ -40,7 +43,7 @@ Hacking Interpreter Standard Libraries -- hash[key] = nil may not remove entry; hashes may have nil as the value. +- hash[key] = nil does not remove entry; hashes may have nil as the value. - hash.fetch(key) raises exception if key is not found. - Array#{first,last,at} - Dir.glob(pat){|f|...} @@ -53,13 +56,13 @@ Standard Libraries - debugger for thread programming - SyntaxError, NameError, LoadError and NotImplementError are subclasses of ScriptError..), \G - Struct::new([name,]member,...) - IO#reopen accepts path as well - Kernel#scan -- call initialize for builtin class too (not yet: Regexp, IO, etc) +- call initialize for builtin class too (not yet: Regexp, etc) +- performance tune for String's non-bang methods. * String#scanf(?) * Object#fmt(?) * Integer#{bin,oct,hex,heX} @@ -69,7 +72,6 @@ Standard Libraries * Stream or Port, abstract superclass of IO ? * String#{pred,prev}, String#downto * optional stepsize argument for succ() -* performance tune for String's non-bang methods. * Ruby module -- Ruby::Version, Ruby::Interpreter Extension Libraries -- cgit