Highlights
- Pro
Pinned Loading
-
linux-utils
linux-utils PublicA bunch of scripts that are useful for me and hopefully others.
Python
-
-
better_irsim
better_irsim PublicAn improved simulator for the IR used in Nanjing University's compiler course (https://cs.nju.edu.cn/changxu/2_compiler/index.html)
OCaml 3
-
NJU course schedule => iCalendar: A ...
NJU course schedule => iCalendar: A quick and dirty script to convert JSON data downloaded from NJU ehall containing course schedule to ICalendar file (.ics). 1#!/usr/bin/env python3
2import json
3import uuid
4import datetime as dt
5from dataclasses import dataclass
-
Church numerals in C++ template (inc...
Church numerals in C++ template (including subtraction) 1#define testNum(num, val) \
2do { \
3static_assert(FromChurch<num>::get == (val)); \
4static_assert(FromChurch<Pred::template Ap<num>::V>::get == \
5((val) > 0 ? (val)-1 : 0)); \
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.