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
import subprocess | |
import sys | |
from typing import Iterable, Sequence | |
import re | |
#* Toggle this to render 'nul' characters in strings | |
RENDER_NUL = False | |
#* Toggle this to disable unmangling of output | |
DO_UNMANGLE = True |
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
#ifndef COSM_COSM_HPP_INCLUDED | |
#define COSM_COSM_HPP_INCLUDED | |
#include <type_traits> | |
#include <boost/asio.hpp> | |
/** | |
* Composed-operation state machines | |
*/ |
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
// Base template | |
// Der: CRTP derived class | |
// ThisType: Type of dynamix object. This carries CV-qualifier information about the message. | |
// Sig: Signature for the message | |
template <typename Der, typename ThisType, typename Sig> struct message_helper; | |
// Impl template. Here we take a signature type as our third argument as a specialization | |
template <typename Derived, typename ThisType, typename Ret, typename... Args> | |
struct message_helper<Derived, ThisType, Ret(Args...)> : public ::dynamix::internal::message_t { |
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
import os | |
import ycm_core | |
default_flags = [ | |
'-Wall', | |
'-Wextra', | |
'-std=c++14', | |
'-x', | |
'-c++', | |
] |