fastruby 0.0.9 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +6 -0
- data/Rakefile +1 -1
- data/lib/fastruby/exceptions.rb +0 -10
- data/lib/fastruby/translator.rb +333 -382
- data/lib/fastruby.rb +1 -1
- data/spec/block/redo_spec.rb +67 -0
- data/spec/block/retry_spec.rb +135 -0
- data/spec/exception/base_spec.rb +39 -0
- data/spec/exception/ensure_spec.rb +52 -0
- data/spec/{exception_spec.rb → exception/exc_trap_spec.rb} +0 -154
- data/spec/exception/syntaxis_spec.rb +89 -0
- data/spec/flow_control/for_spec.rb +40 -0
- data/spec/jump/next_spec.rb +36 -0
- metadata +12 -6
- data/spec/block/callcc_spec.rb +0 -115
data/CHANGELOG
CHANGED
data/Rakefile
CHANGED
data/lib/fastruby/exceptions.rb
CHANGED
@@ -21,14 +21,4 @@ along with fastruby. if not, see <http://www.gnu.org/licenses/>.
|
|
21
21
|
module FastRuby
|
22
22
|
class TypeMismatchAssignmentException < Exception
|
23
23
|
end
|
24
|
-
|
25
|
-
class Context
|
26
|
-
class UnwindFastrubyFrame < Exception
|
27
|
-
def initialize(ex,target_frame,return_value)
|
28
|
-
@ex = ex
|
29
|
-
@target_frame = target_frame
|
30
|
-
@return_value = return_value
|
31
|
-
end
|
32
|
-
end
|
33
|
-
end
|
34
24
|
end
|