Skip to content

urso/rb_delimcc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

rb_delimcc adds support for delimited continuations build upon callcc.

Installation

Install Gem

rb_delimcc is available via rubygems.org and be installed using rubygems:

$ gem install rb_delimcc

Install From Source

  1. get the source

  2. install the gem (in source directory):

    $ gem build rb_delimcc.gemspec $ sudo gem install rb_delimcc

Usage:

To use rb_prob you need to use rubygems and require the library:

require 'rubygems'

require 'delimcc'
include DelimCC # optional, but will save some typing

The only functions you will need are 'reset' and 'shift'.

Examples

some simple examples can be found in examples/testcc.rb . Just run the file with 'ruby testcc.rb', to find out how delimcc works.

Limitations

delimcc is build upon callcc, so if your ruby implementation of choice has no proper call/cc support build in, delimited continuations won't work then.

About

delimited continuations for ruby (build upon callcc)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages