Skip to content

Instantly share code, notes, and snippets.

View Javran's full-sized avatar

Javran Cheng Javran

View GitHub Profile
@Javran
Javran / exh.py
Created January 31, 2016 03:47 — forked from scturtle/exh.py
downloader for curgentleman
#!/usr/bin/env python3
import os
import re
import sys
import json
import asyncio
import aiohttp
import urllib.request
import logging
from itertools import count
@Javran
Javran / lazy.rkt
Last active August 29, 2015 14:18 — forked from dvanhorn/lazy.rkt
#lang racket
(require redex)
;; There are many different semantics for Call-By-Need
;; in the literature. Some are purely syntactic:
;; they model sharing using `let' and have complicated
;; notions of evaluation contexts (e.g. Ariola and
;; Felleisen). Others are heap-based natural semantics
;; (e.g. Launchbury).