Catch Ruby errors before your users do. Monitor Ruby production errors in real-time and debug them in minutes, before users notice. Our open source Ruby SDK works with Rails, Sinatra, and more. Use this link and get one month free!

RubyFlow The Ruby and Rails community linklog


The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Cibyl, a lightweight curly-bracket language which compiles to Ruby and Crystal

Cibyl allows to develop Ruby and Crystal applications with a C-like syntax :

// Recursive Fibonacci function

def fibonacci(
    n : Int32
    if ( n <= 1 )
        return n;
        return fibonacci( n - 1 ) + fibonacci( n - 2 );

puts fibonacci( 8 );

Optionally, Cibyl allows to use other case conventions :

require "http/server";

server = HTTP::SERVER.New
    do | context |
        context.Response.ContentType = "text/plain";
        context.Response.Print( "Hello world! The time is #{TIME.Now}" );

address = server.BindTcp( 8080 );
Puts( "Listening on <http://#{address}"> );

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in