Skip to content

Instantly share code, notes, and snippets.

View elliott5's full-sized avatar

Elliott Stoneham elliott5

View GitHub Profile
Scanning dependencies of target LLVMSupport
[ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APFloat.cpp.o
[ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APInt.cpp.o
[ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APSInt.cpp.o
[ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ARMWinEH.cpp.o
[ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Allocator.cpp.o
[ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BlockFrequency.cpp.o
[ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BranchProbability.cpp.o
[ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/circular_raw_ostream.cpp.o
[ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/COM.cpp.o
@elliott5
elliott5 / fosdem2015haxe.md
Last active August 29, 2015 14:06
DRAFT FOSDEM 2015 Haxe submission

[SUBMISSION MADE ON SUNDAY 14TH SEPTEMBER]

Dear FOSDEM 2015 organizers,

In response to https://fosdem.org/2015/news/2014-07-01-call-for-participation/ we would like to organize a developer room at FOSDEM 2015 for the Haxe community, which is a small but very active group of open-source developers mostly building cross-platform interactive applications for games, entertainment and business communications.

The Haxe project (www.haxe.org) exists to enable collaboration across project and domain boundaries, it is a programming language and open source toolkit that is the secret to beating platform lock-in.

Need your code to run on iOS? Sure. What about Android: yes, we have that. The boss has a blackberry - how do we even.... oh wait, Haxe can do that too. Need a website to run on PHP servers? No worries. Now NodeJS? We can do that too. Wait, Google App Engine? Well, we have a Java target.

@elliott5
elliott5 / interp.go
Last active July 28, 2017 04:02
Go Interpreter (in 35 lines) - CURRENTLY NOT WORKING
// NOT WORKING AS AT 14-JAN-14 DUE TO API CHANGES
//
// written for the Go London User Group meeting of 21st November 2013 by Elliott Stoneham
// uses code.google.com/p/go.tools/ssa/interp which warns “It is not, and will never be, a production-quality Go interpreter.”
// main() code adapted from the example given in code.google.com/p/go.tools/ssa
// requires go version 1.2
//
package main
import (
@elliott5
elliott5 / ucompare.hx
Created September 9, 2013 16:34
working ucompare() for haxe.Int64 java and cs platforms (using my internal type defintions, sorry)
public static function ucompare(x:HaxeInt64abs,y:HaxeInt64abs):Int {
#if ( java || cs )
// unsigned compare library code does not work properly for these platforms
if(HaxeInt64Typedef.isZero(x)) {
if(HaxeInt64Typedef.isZero(y)) {
return 0;
} else {
return -1; // any value is larger than x
}
@elliott5
elliott5 / Int64.hx
Created September 9, 2013 16:07
rewrite of std Haxe library class haxe.Int64 to correct PHP integer overflow and other errors
//**************** rewrite of std Haxe library function haxe.Int64 to correct PHP integer overflow and other errors
//changed lines marked with ***
/*
* Copyright (C)2005-2012 Haxe Foundation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the