This file contains 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
ometa BinaryParser <: Parser { | |
// Portable Network Graphics (PNG) Specification (Second Edition) | |
// http://www.w3.org/TR/PNG/ | |
// Note: not all chunk are defined, this is just a POC | |
//entire PNG stream | |
START = [header:h (chunk+):c number*:n] -> [h,c,n], | |
//chunk definition | |
chunk = int4:len str4:t apply(t,len):d byte4:crc | |
-> [#chunk, [#type, t], [#length, len], [#data, d], [#crc, crc]], |
This file contains 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
git clone http://llvm.org/git/llvm.git | |
pushd llvm/tools | |
git clone http://llvm.org/git/clang.git | |
popd | |
pushd llvm/projects | |
git clone http://llvm.org/git/compiler-rt.git | |
popd | |
pushd llvm/projects | |
git clone http://llvm.org/git/test-suite.git | |
popd |
This file contains 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/sh | |
# ELLCC GNU tools build script. | |
# Get the staging directory. | |
prefix=`cd ..; pwd` | |
# Figure out the compilers to use. | |
. ../build-setup $* | |
echo Configured to $WHY. |
This file contains 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 'formula' | |
class Git < Formula | |
homepage 'http://git-scm.com' | |
url 'https://git-core.googlecode.com/files/git-1.9.0.tar.gz' | |
sha1 'e60667fc16e5a5f1cde46616b0458cc802707743' | |
head 'https://github.com/git/git.git' | |
bottle do | |
sha1 "582a276b608de17888da01922648522bf7a9c11a" => :mavericks |
This file contains 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
Mars:UnitTests administrator$ ./UnitTests -module=all | |
sources/Test.cpp[32] BinaryReaderWriterTest::Native OK (0ms) | |
sources/Test.cpp[32] BinaryReaderWriterTest::BigEndian OK (0ms) | |
sources/Test.cpp[32] BinaryReaderWriterTest::LittleEndian OK (0ms) | |
sources/Test.cpp[32] BufferTest::Dynamic OK (0ms) | |
sources/Test.cpp[32] BufferTest::Fix OK (0ms) | |
sources/Test.cpp[32] DNSTest::HostByName OK (30ms) | |
sources/Test.cpp[32] DNSTest::HostByAddress OK (4ms) | |
sources/Test.cpp[32] DatabaseTest::Load OK (32ms) | |
sources/Test.cpp[32] DatabaseTest::Add OK (2ms) |
This file contains 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
Cleaning: Fireworks (Release) | |
Removing output files... | |
Clean complete | |
Building: Fireworks (Release) | |
Pre-Building... | |
Building | |
Performing main compilation... |
This file contains 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
using System; | |
using System.Collections; | |
namespace TestNamespace | |
{ | |
public class TestClass | |
{ | |
static long ticks = 0; | |
static double globalvar; | |
This file contains 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
using System; | |
using System.Collections; | |
namespace TestNamespace | |
{ | |
public class TestClass | |
{ | |
static long ticks = 0; | |
static double globalvar; | |
This file contains 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
ruby -e "$(curl -fsSL bit.ly/1zCQCam)" | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 75.4M 100 75.4M 0 0 381k 0 0:03:22 0:03:22 --:--:-- 672k | |
Password: | |
Sorry, try again. | |
Password: | |
installer: Package name is Xamarin.Mac | |
installer: Installing at base path / | |
installer: The install was successful. |
This file contains 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
config=release_x32 make | |
==== Building CppSharp.AST (release_x32) ==== | |
make[1]: Nothing to be done for `all'. | |
==== Building CppSharp.Runtime (release_x32) ==== | |
make[1]: Nothing to be done for `all'. | |
==== Building CppSharp.CppParser (release_x32) ==== | |
Creating ../obj/x32/Release/CppSharp.CppParser | |
AST.cpp | |
Comments.cpp | |
CppParser.cpp |
OlderNewer