Skip to content

Instantly share code, notes, and snippets.

On vacation


On vacation
Block or report user

Report or block Lispre

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Lispre / epoll.go
Created Mar 29, 2019 — forked from tevino/epoll.go
Golang example for using epoll
View epoll.go
package main
import (
const (
Lispre / singleton.hpp
Created Mar 29, 2019 — forked from bianjiang/singleton.hpp
A C++11 singleton template with variadic parameters support
View singleton.hpp
// The MIT License (MIT)
// Copyright (c) <2013> <Jiang Bian>
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
import re, sys # this file requires python 3
def parse(tokens):
stack = ([], None)
for t in tokens:
if t == '(':
stack = ([], stack)
elif t == ')':
(finished_list, stack) = stack
elif not t.startswith(';;'):
Lispre / lisp.c
Created Jul 25, 2018 — forked from sanxiyn/lisp.c
View lisp.c
#include <assert.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
enum type {
You can’t perform that action at this time.