Skip to content

Instantly share code, notes, and snippets.

View ioperations's full-sized avatar
🎯
Focusing

ioperations ioperations

🎯
Focusing
  • guangzhou
  • 03:25 (UTC +08:00)
View GitHub Profile
@ioperations
ioperations / binary_expr.cc
Last active December 5, 2022 15:30
parser
#include <cstdlib>
#include <exception>
#include <memory>
#include <set>
#include <string>
#include <vector>
enum node_type {
NNUMBER,
NOPERATOR,
@ioperations
ioperations / fib_jit.cc
Last active December 5, 2022 15:31
executor
// Original URL:
// https://llvm.org/svn/llvm-project/llvm/trunk/examples/HowToUseJIT/HowToUseJIT.cpp
//
//===-- examples/HowToUseJIT/HowToUseJIT.cpp - An example use of the JIT --===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//