Skip to content

Instantly share code, notes, and snippets.

View azur1s's full-sized avatar

azur1s

View GitHub Profile
use chumsky::prelude::*;
use crate::expr::*;
pub type Span = SimpleSpan<usize>;
pub type Spanned<T> = (T, Span);
#[derive(Debug, Clone, PartialEq)]
pub enum Token<'src> {
Num(f64),
// Str(&'src str),
0
SECTION
2
HEADER
9
$ACADVER
1
AC1009
9
$FILLMODE
@azur1s
azur1s / bm40-workman-via.json
Last active September 20, 2022 21:10
My keyboard layout
{
"name": "KPRepublic BM40 RGB",
"vendorProductId": 1263547440,
"macros": ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""],
"layers": [
[
"KC_TAB",
"KC_Q",
"KC_D",
"KC_R",
@azur1s
azur1s / 727.cpp
Last active February 19, 2022 11:44
do you see it
#include <iostream>
#include <fstream>
#include <string>
#include <iterator>
using namespace std;
// Make a 727.txt files contain "727" (without double quotes)
int main() {