Skip to content

Instantly share code, notes, and snippets.

View dil-bfleischman's full-sized avatar

Bonaventura Fleischman dil-bfleischman

View GitHub Profile
@fernandoaleman
fernandoaleman / fix-libv8-mac.txt
Created May 5, 2016 15:14
Fixing libv8 and therubyracer on Mac
brew tap homebrew/versions
brew install v8-315
gem install libv8 -v '3.16.14.13' -- --with-system-v8
gem install therubyracer -- --with-v8-dir=/usr/local/opt/v8-315
bundle install
@akoskovacs
akoskovacs / rb_lisp.rb
Created March 4, 2013 06:38
A very simple and awesome Lisp interpreter in ruby
# A very simple and awesome Lisp interpreter in ruby
# Usage:
# require './rb_lisp.rb'
# RBLisp::Interpreter.new("(print (+ 5 (* 99 5)))") # => will print 500
module RBLisp
class Value
attr_accessor :type, :value
def initialize(args)