Skip to content

Instantly share code, notes, and snippets.

@gbluma
gbluma / object-algebra.flx
Last active August 29, 2015 14:23 — forked from anonymous/gist:65c37929d31fa0fceb21
An example of Object Algebras in Felix
// Title: An example of Object Algebras in Felix
// Author: Garrett Bluma
// Date: June 29, 2015
// Special thanks to Bruno Oliveira and William Cook for explaining object
// algebras, and for providing examples.
// <http://i.cs.hku.hk/~bruno/oa/>
// -----------------------------------------
// Object algebras use extension via type parameters and inheritance. Given a
@gbluma
gbluma / hiphop-build.sh
Created April 27, 2011 18:17 — forked from sibprogrammer/hiphop-build.sh
Script for building HipHop for PHP at Ubuntu 9.10 32-bit
#!/bin/sh
sudo apt-get install cmake g++ libboost-dev flex bison re2c libmysqlclient-dev \
libxml2-dev libmcrypt-dev libicu-dev openssl binutils-dev libcap-dev \
libgd2-xpm-dev zlib1g-dev libtbb-dev libonig-dev libpcre3-dev git-core \
autoconf libtool libcurl4-openssl-dev libboost-system-dev \
libboost-program-options-dev libboost-filesystem-dev curl
# getting hiphop source code
mkdir hiphop