Skip to content

Instantly share code, notes, and snippets.

View CAD97's full-sized avatar

Crystal Durham CAD97

View GitHub Profile
@CAD97
CAD97 / lib.rs
Created May 4, 2023 00:19
TBool, ext assert, and stride experiments
#![allow(unused)]
use std::marker::PhantomData;
use std::ops::Deref;
use std::mem;
pub trait TypeEq<T: ?Sized> {}
impl<T: ?Sized> TypeEq<T> for T {}
pub struct TBool<const B: bool>;
@CAD97
CAD97 / sorbus.rs
Created May 4, 2023 00:21
Compact syntax tree draft experiment
//! sorbus
#![allow(unused)]
use std::marker::PhantomData;
use std::mem::transmute;
use std::num::NonZeroU16;
use std::ops::Index;
use std::ptr;
#[derive(Copy, Clone)]
@CAD97
CAD97 / assert.rs
Created May 4, 2023 03:42
nounwind assertion helpers
#![allow(unused)]
use std::{
sync::{
atomic::{AtomicBool, Ordering::*},
Mutex,
},
thread::panicking,
};
@CAD97
CAD97 / Basic_Emoji.txt
Last active February 21, 2024 04:12
script creating regex for RGI emoji sets from UTS#51
[©®‼⁉™ℹ↔↕↖↗↘↙↩↪⌨⏏⏭⏮⏯⏱⏲⏸⏹⏺Ⓜ▪▫▶◀◻◼☀☁☂☃☄☎☑☘☝☠☢☣☦☪☮☯☸☹☺♀♂♟♠♣♥♦♨♻♾⚒⚔⚕⚖⚗⚙⚛⚜⚠⚧⚰⚱⛈⛏⛑⛓⛩⛰⛱⛴⛷⛸⛹✂✈✉✌✍✏✒✔✖✝✡✳✴❄❇❣❤➡⤴⤵⬅⬆⬇〰〽㊗㊙🅰🅱🅾🅿🈂🈷🌡🌤🌥🌦🌧🌨🌩🌪🌫🌬🌶🍽🎖🎗🎙🎚🎛🎞🎟🏋🏌🏍🏎🏔🏕🏖🏗🏘🏙🏚🏛🏜🏝🏞🏟🏳🏵🏷🐿👁📽🕉🕊🕯🕰🕳🕴🕵🕶🕷🕸🕹🖇🖊🖋🖌🖍🖐🖥🖨🖱🖲🖼🗂🗃🗄🗑🗒🗓🗜🗝🗞🗡🗣🗨🗯🗳🗺🛋🛍🛎🛏🛠🛡🛢🛣🛤🛥🛩🛰🛳]\u{FE0F}|[⌚⌛⏩-⏬⏰⏳◽◾☔☕♈-♓♿⚓⚡⚪⚫⚽⚾⛄⛅⛎⛔⛪⛲⛳⛵⛺⛽✅✊✋✨❌❎❓-❕❗➕-➗➰➿⬛⬜⭐⭕🀄🃏🆎🆑-🆚🈁🈚🈯🈲-🈶🈸-🈺🉐🉑🌀-🌌🌍🌎🌏🌐🌑🌒🌓-🌕🌖-🌘🌙🌚🌛🌜🌝🌞🌟🌠🌭-🌯🌰🌱🌲🌳🌴🌵🌷-🍊🍋🍌-🍏🍐🍑-🍻🍼🍾🍿🎀-🎓🎠-🏄🏅🏆🏇🏈🏉🏊🏏-🏓🏠-🏣🏤🏥-🏰🏴🏸-🐇🐈🐉-🐋🐌-🐎🐏🐐🐑🐒🐓🐔🐕🐖🐗-🐩🐪🐫-🐾👀👂-👤👥👦-👫👬👭👮-💬💭💮-💵💶💷💸-📫📬📭📮📯📰-📴📵📶📷📸📹-📼📿-🔂🔃🔄-🔇🔈🔉🔊-🔔🔕🔖-🔫🔬🔭🔮-🔽🕋-🕎🕐-🕛🕜-🕧🕺🖕🖖🖤🗻-🗿😀😁-😆😇😈😉-😍😎😏😐😑😒-😔😕😖😗😘😙😚😛😜-😞😟😠-😥😦😧😨-😫😬😭😮😯😰-😳😴😵😶😷-🙀🙁-🙄🙅-🙏🚀🚁🚂🚃-🚅🚆🚇🚈🚉🚊🚋🚌🚍🚎🚏🚐🚑-🚓🚔🚕🚖🚗🚘🚙🚚🚛-🚡🚢🚣🚤🚥🚦🚧-🚭🚮-🚱🚲🚳-🚵🚶🚷🚸🚹-🚾🚿🛀🛁-🛅🛌🛐🛑🛒🛕🛖🛗🛜🛝-🛟🛫🛬🛴-🛶🛷🛸🛹🛺🛻🛼🟠-🟫🟰🤌🤍-🤏🤐-🤘🤙-🤞🤟🤠-🤧🤨-🤯🤰🤱🤲🤳-🤺🤼-🤾🤿🥀-🥅🥇-🥋🥌🥍-🥏🥐-🥞🥟-🥫🥬-🥰🥱🥲🥳-🥶🥷🥸🥹🥺🥻🥼-🥿🦀-🦄🦅-🦑🦒-🦗🦘-🦢🦣🦤🦥-🦪🦫-🦭🦮🦯🦰-🦹🦺-🦿🧀🧁🧂🧃-🧊🧋🧌🧍-🧏🧐-🧦🧧-🧿🩰-🩳🩴🩵-🩷🩸-🩺🩻🩼🪀-🪂🪃-🪆🪇🪈🪐-🪕🪖-🪨🪩-🪬🪭-🪯🪰-🪶🪷-🪺🪻-🪽🪿🫀-🫂🫃-🫅🫎🫏🫐-🫖🫗-🫙🫚🫛🫠-🫧🫨🫰-🫶🫷🫸]