This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 91f73c887706cd54e0b6f15c9e3b999b72f01a92
tree a33fd15921e1aaf8cb355ce6608d2fba213fcc74
parent 24d5364722f2b69ba411f325e0a92c5136886b6a
tree a33fd15921e1aaf8cb355ce6608d2fba213fcc74
parent 24d5364722f2b69ba411f325e0a92c5136886b6a
rubyspec / language
| name | age | message | |
|---|---|---|---|
| .. | |||
| |
README | Mon Dec 29 15:08:07 -0800 2008 | |
| |
alias_spec.rb | Wed Apr 22 23:08:54 -0700 2009 | |
| |
and_spec.rb | Mon Dec 29 15:08:07 -0800 2008 | |
| |
array_spec.rb | Sat Feb 07 00:03:07 -0800 2009 | |
| |
block_spec.rb | Thu Jul 02 00:21:55 -0700 2009 | |
| |
break_spec.rb | ||
| |
case_spec.rb | Mon Mar 30 14:55:28 -0700 2009 | |
| |
catch_spec.rb | Wed Jul 01 11:33:25 -0700 2009 | |
| |
class_spec.rb | Thu Jul 09 17:12:19 -0700 2009 | |
| |
class_variable_spec.rb | Sun Jan 04 20:45:05 -0800 2009 | |
| |
constants_spec.rb | Mon Dec 29 15:08:07 -0800 2008 | |
| |
def_spec.rb | Mon Mar 30 14:55:28 -0700 2009 | |
| |
defined_spec.rb | ||
| |
eigenclass_spec.rb | ||
| |
else_spec.rb | Mon Dec 29 15:08:07 -0800 2008 | |
| |
encoding_spec.rb | Fri Jan 02 18:51:25 -0800 2009 | |
| |
ensure_spec.rb | ||
| |
execution_spec.rb | Wed Dec 31 09:15:33 -0800 2008 | |
| |
file_spec.rb | ||
| |
fixtures/ | ||
| |
for_spec.rb | ||
| |
hash_spec.rb | ||
| |
if_spec.rb | Mon Mar 30 14:55:29 -0700 2009 | |
| |
line_spec.rb | Mon Dec 29 15:08:07 -0800 2008 | |
| |
literal_lambda_spec.rb | Sat Jul 04 14:02:34 -0700 2009 | |
| |
loop_spec.rb | Wed Jul 01 11:33:25 -0700 2009 | |
| |
magic_comment_spec.rb | Mon Dec 29 15:08:07 -0800 2008 | |
| |
metaclass_spec.rb | Wed Jul 01 11:33:25 -0700 2009 | |
| |
method_spec.rb | Sat Mar 21 12:14:48 -0700 2009 | |
| |
module_spec.rb | Mon Mar 30 14:55:29 -0700 2009 | |
| |
next_spec.rb | Mon Mar 30 14:55:29 -0700 2009 | |
| |
not_spec.rb | ||
| |
numbers_spec.rb | Thu Feb 05 14:30:31 -0800 2009 | |
| |
or_spec.rb | Mon Dec 29 15:08:07 -0800 2008 | |
| |
order_spec.rb | Wed Jan 21 12:00:27 -0800 2009 | |
| |
precedence_spec.rb | ||
| |
predefined_spec.rb | ||
| |
private_spec.rb | ||
| |
redo_spec.rb | Mon Mar 30 14:55:30 -0700 2009 | |
| |
regexp_spec.rb | ||
| |
rescue_spec.rb | ||
| |
retry_spec.rb | Mon Mar 30 14:55:30 -0700 2009 | |
| |
return_spec.rb | ||
| |
string_spec.rb | ||
| |
super_spec.rb | ||
| |
symbol_spec.rb | Mon May 11 22:14:29 -0700 2009 | |
| |
throw_spec.rb | Wed Jul 01 11:33:25 -0700 2009 | |
| |
undef_spec.rb | ||
| |
unless_spec.rb | Mon Mar 30 14:55:30 -0700 2009 | |
| |
until_spec.rb | Mon Dec 29 15:08:07 -0800 2008 | |
| |
variables_spec.rb | ||
| |
versions/ | ||
| |
while_spec.rb | Mon Dec 29 15:08:07 -0800 2008 | |
| |
yield_spec.rb | Mon Dec 29 15:08:07 -0800 2008 |
language/README
There are numerous possible way of categorizing the entities and concepts that
make up a programming language. Ruby has a fairly large number of reserved
words. These words significantly describe major elements of the language,
including flow control constructs like 'for' and 'while', conditional
execution like 'if' and 'unless', exceptional execution control like 'rescue',
etc. There are also literals for the basic "types" like String, Regexp, Array
and Fixnum.
Behavorial specifications describe the behavior of concrete entities. Rather
than using concepts of computation to organize these spec files, we use
entities of the Ruby language. Consider looking at any syntactic element of a
Ruby program. With (almost) no ambiguity, one can identify it as a literal,
reserved word, variable, etc. There is a spec file that corresponds to each
literal construct and most reserved words, with the exceptions noted below.
There are also several files that are more difficult to classify: all
predefined variables, constants, and objects (predefined_spec.rb), the
precedence of all operators (precedence_spec.rb), the behavior of assignment
to variables (variables_spec.rb), the behavior of subprocess execution
(execution_spec.rb), the behavior of the raise method as it impacts the
execution of a Ruby program (raise_spec.rb), and the block entities like
'begin', 'do', ' { ... }' (block_spec.rb).
Several reserved words and other entities are combined with the primary
reserved word or entity to which they are related:
false, true, nil, self predefined_spec.rb
in for_spec.rb
then, elsif if_spec.rb
when case_spec.rb
catch throw_spec.rb







