Skip to content

Instantly share code, notes, and snippets.

View jemc's full-sized avatar
🔍
Open to new work opportunities

Joe Eli McIlvain jemc

🔍
Open to new work opportunities
  • TheoremOne
  • Cascadia
View GitHub Profile
@jemc
jemc / oa.pony
Created May 18, 2016 21:22 — forked from SeanTAllen/oa.pony
Pony Solution to the Expression Problem Using Object Algebras see http://i.cs.hku.hk/~bruno/oa/ for more info
interface ExpAlg[E]
fun lit(x: I32): E
fun add(e1: E, e2: E): E
interface Eval
fun eval(): I32
interface EvalExpAlg
fun lit(x: I32): Eval val =>
recover
require 'ffi'
require 'benchmark'
module LibC
extend FFI::Library
ffi_lib FFI::Library::LIBC
attach_function :malloc, [:size_t], :pointer
attach_function :free, [:pointer], :void
end

Start weechat if you haven't already:

$ weechat

open up browser and go to: https://irc.gitter.im/ retrieve your /PASS

In weecaht run (thanks to raine):