- Let’s Build A Simple Interpreter
- Let's Build a Compiler, by Jack Crenshaw
- Project: A Programming Language
- Understanding Compiler Optimization - Chandler Carruth - Opening Keynote Meeting C++ 2015
- Adventures in JIT compilation
- Juozas Kaziukėnas - Building An Interpreter In RPython - PyCon 2016
- Anders Hejlsberg on Modern Compiler Construction
- Build Your Own Lisp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| # Command of the day | |
| # Picks a random executable from your path until it finds one with a manpage. | |
| # Use this to learn about some of the really obscure yet really useful scripts that are already on your system. | |
| files = ENV["PATH"].split(":").uniq.compact.map { |path| | |
| Dir.glob(File.join(path,'*')).select {|file| File.file?(file) && File.executable?(file)} | |
| }.flatten.compact.uniq | |
| cotd = File.basename(files[rand(files.size)]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CONDOM(1) EUNUCH Programmer's Manual CONDOM(1) | |
| NAME | |
| condom - Protection against viruses and prevention of child | |
| processes | |
| SYNOPSIS | |
| condom [options] [processid] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| =begin | |
| Author: Jabari Zakiya, Original: 2009-12-25 | |
| Revision-2: 2009-12-31 | |
| Revision-3: 2010-6-2 | |
| Revision-4: 2010-12-15 | |
| Revision-5: 2011-5-11 | |
| Revision-6: 2011-5-15 | |
| Module 'Roots' provides two methods 'root' and 'roots' | |
| which will find all the nth roots of real and complex |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //created by Eliot Lash and Robert Muller on 10/3/10 | |
| //copyright Eliot Lash and Robert Muller 2011 | |
| //Welcome to Ye Olde Sea Pluss Pluss! | |
| #include <iostream> | |
| #include <string> | |
| #include "olde.h" | |
| #define normal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Make it use C-a, similar to screen.. | |
| unbind C-b | |
| unbind l | |
| set -g prefix C-a | |
| bind-key C-a last-window | |
| # Reload key | |
| bind r source-file ~/.tmux.conf | |
| set -g history-limit 1000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Usage: sudo apt-get install -yqq curl; curl -L -s https://raw.github.com/gist/4671312/ubuntu-install-media.sh | sudo bash | |
| #alias sagi="apt-get install --yes --quiet" # normall sudo apt-get, but this is already root | |
| #alias sagid="apt-get install --yes --quiet --download-only" # same as above | |
| #STDOUT=/dev/stdout | |
| #STDERR=/dev/stderr | |
| STDOUT=/dev/null | |
| STDERR=/dev/null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Wow! It's so much better when you do it faster! | |
| Take it out and start working on it. | |
| I wish you would finish already. | |
| This thing is huge. I can hardly put my hand around it and it wont fit in my mouth. | |
| When you push it down, it's supposed to rise back up. | |
| I hate it when balls come near me. | |
| Alright Justin, what am I doing wrong here, help me out cause it shouldn't take this long. | |
| Wow, why do you only have one hand on there? Is it not big enough for both of them? | |
| I think I cant swallow it anymore. | |
| I like the long thick black ones. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'flog' | |
| require 'flog_task' | |
| require 'flay' | |
| require 'flay_task' | |
| require 'roodi' | |
| require 'roodi_task' | |
| FlogTask.new :flog, SOME_NUMBER_HERE, %w[app lib] | |
| FlayTask.new :flay, OTHER_NUMBER_HERE, %w[app lib] | |
| RoodiTask.new 'roodi', ['app/**/*.rb', 'lib/**/*.rb'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;;;; pretty-literals.lisp - pretty hash table & vector literal syntax | |
| ;;;; inspired by and uses code from http://frank.kank.net/essays/hash.html | |
| (in-package #:pretty-literals) | |
| ;; vector literal syntax using brackets | |
| (set-macro-character #\[ | |
| (lambda (str char) | |
| (declare (ignore char)) | |
| (let ((*readtable* (copy-readtable *readtable* nil)) |
OlderNewer