Skip to content

Adds support for Canadian programming conventions to the mruby language

Notifications You must be signed in to change notification settings

chancancode/mruby-canada

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Canada for mruby

Canadian flag

It's well known that we have different conventions for programming in Canada. This mruby gem attempts to make life easier for Canadian mrubyists by integrating these conventions into the mruby language:

% ./mruby/build/host/bin/mirb
mirb - Embeddable Interactive Ruby Shell

> [].empty_eh?
 => true
> [1,2,3].empty_eh?
 => false
> [].respond_to_eh?(:empty_eh?)
 => true
> aboot Object.new
 => "#<Object:0x7f954b808720>"
> raise "something went wrong..."
(mirb):5: I'm sorry, but something went wrong... (RuntimeError)

Cool, eh?

What aboot performance?

We hand-tuned the gem's performance to keep it in line with everything else in Canada.

Getting Started

  1. Download the source: git clone git://github.com/chancancode/mruby-canada.git

  2. Install it: rake compile

License

mruby-canada is released under the MIT License.

About

Adds support for Canadian programming conventions to the mruby language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages