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
#include <iostream> | |
#include <thread> | |
#include <future> | |
#include <string> | |
#include <vector> | |
#include <algorithm> | |
#include <boost/asio.hpp> | |
#include <boost/exception/all.hpp> | |
namespace asio = boost::asio; |
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
# nvcc.jam Boost.Build Jam file for extended toolset. | |
# Copyright (c) 2010 - 2011 Kohei Takahashi (Flast). | |
# Distributed under the MIT license. for more detail see COPYING. | |
import "class" : new ; | |
import common ; | |
import feature : feature ; | |
import generators ; | |
import modules ; |
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
function ariel_eval(src_ari, reader, writer) { | |
var src = | |
'(function(reader, writer) {' + | |
' var stack = [];' + | |
' var sp = 0;'; | |
var INSNS = [ | |
{ re: /^\s*あり\s*あり\s*あり/, | |
js: '++sp;' }, | |
{ re: /^\s*あり\s*あり\s*える/, |
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
#include <llvm/Support/Host.h> | |
#include <clang/AST/ASTConsumer.h> | |
#include <clang/AST/Decl.h> | |
#include <clang/AST/DeclGroup.h> | |
#include <clang/Basic/TargetInfo.h> | |
#include <clang/Frontend/CompilerInstance.h> | |
#include <clang/Frontend/CompilerInvocation.h> | |
#include <clang/Parse/ParseAST.h> | |
#include <boost/algorithm/string.hpp> |
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
#include <llvm/Support/Host.h> | |
#include <clang/AST/ASTConsumer.h> | |
#include <clang/AST/Decl.h> | |
#include <clang/AST/DeclGroup.h> | |
#include <clang/Basic/TargetInfo.h> | |
#include <clang/Frontend/CompilerInstance.h> | |
#include <clang/Frontend/CompilerInvocation.h> | |
#include <clang/Parse/ParseAST.h> | |
struct ast_consumer : clang::ASTConsumer { |