Skip to content

Instantly share code, notes, and snippets.

View seanjensengrey's full-sized avatar

Sean Jensen-Grey seanjensengrey

View GitHub Profile
$ rebar3 eunit
===> Verifying dependencies...
===> Compiling bob
===> Getting log of git dependency failed in /Users/seanj/exercism/erlang/bob. Falling back to version 0.0.0
===> Performing EUnit tests...
======================== EUnit ========================
file "bob.app"
  application 'bob'
    module 'bob'
package main
/*
unix domain server with uid/gid checking
socat - unix-connect:/tmp/echo.sock
portions from
use std::collections::VecDeque;
use std::str::FromStr;
#[derive(Debug, Clone)]
enum OperatorToken {
Plus,
Minus,
Multiply,
Divide,
}
[
"http://lamp.epfl.ch/files/content/sites/lamp/files/teaching/advanced-compiler-construction/spring-2016/acc16_01_course-introduction.pdf",
"http://lamp.epfl.ch/files/content/sites/lamp/files/teaching/advanced-compiler-construction/spring-2016/acc16_01_course-introduction_4.pdf",
"http://lamp.epfl.ch/files/content/sites/lamp/files/teaching/advanced-compiler-construction/spring-2016/acc16_02_the-l3-project.pdf",
"http://lamp.epfl.ch/files/content/sites/lamp/files/teaching/advanced-compiler-construction/spring-2016/acc16_02_the-l3-project_4.pdf",
"http://lamp.epfl.ch/files/content/sites/lamp/files/teaching/advanced-compiler-construction/spring-2016/acc16_03_intermediate-representations.pdf",
"http://lamp.epfl.ch/files/content/sites/lamp/files/teaching/advanced-compiler-construction/spring-2016/acc16_03_intermediate-representations_4.pdf",
"http://lamp.epfl.ch/files/content/sites/lamp/files/teaching/advanced-compiler-construction/spring-2016/acc16_04_values-representation.pdf",
"http://lamp.epfl

*** SHED SKIN Python-to-C++ Compiler *** Copyright 2005-2013 Mark Dufour; License GNU GPL version 3 (See LICENSE)

infer.py: perform iterative type analysis

we combine two techniques from the literature, to analyze both parametric polymorphism and data polymorphism adaptively. these techniques are agesen's cartesian product algorithm [0] and plevyak's iterative flow analysis [1] '(the data polymorphic part)'. for details about these algorithms, see ole agesen's excellent Phd thesis [2]. for details about the Shed Skin implementation, see Mark

/* file: "tinyc.c" */
/* Copyright (C) 2001 by Marc Feeley, All Rights Reserved. */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/*
* http://www.iro.umontreal.ca/~felipe/IFT2030-Automne2002/Complements/tinyc.c
#!/usr/bin/env python
import os
import sys
def main():
current = os.getcwd()
try:
repo = sys.argv[1]
_, user, name = repo.rsplit("/",2)

Notes on writing a Lua Bytecode VM. Lua is a compact, minimal language designed for embedding within a larger program to provide end-user customization of program behavior. This note outlines how I would breakdown implmementing the Lua Bytecode VM in Rust. The techniques are broadly applicable to any implementation language.

I would proceed by supporting a subset of Lua that uses only numbers then move on to tables with numbers. Lua 5.3 adds integers.

Form small tests cases, compile chunks of lua code and

DC/OS packages available

NAME                       VERSION             SELECTED  FRAMEWORK  DESCRIPTION                                                                       
arangodb3                  1.0.4               True      True       A distributed free and open-source database with a flexible data model for do...  
artifactory                4.8.2               True      False      As the first, and only, universal Artifact Repository Manager on the market, ...  
cassandra                  1.0.16-3.0.8        True      True       Apache Cassandra running on DC/OS                                                 
chronos                    2.4.0               True      True       A fault tolerant job scheduler for Mesos which handles dependencies and ISO86...  
confluent-kafka            1.1.12-3.0.1        True      True       Apache Kafka by Confluent                                                         
dse                        1.0.15-5.0.0        True      True       DSE running on DCOS