Skip to content

Instantly share code, notes, and snippets.

View Emberwalker's full-sized avatar

Nathaniel Emerson Emberwalker

  • Skyscanner
  • Edinburgh, United Kingdom
View GitHub Profile

Keybase proof

I hereby claim:

  • I am emberwalker on github.
  • I am arkan (https://keybase.io/arkan) on keybase.
  • I have a public key ASC0G138gY_wB3jerNteZFyyl024jAOFw_544yCLeB-eSAo

To claim this, I am signing this object:

@Emberwalker
Emberwalker / core.clj
Created August 30, 2015 15:34
Never again.
(ns ^{:author "Arkan <arkan@drakon.io>"
:doc "Oh god this is horrible. The world just isn't ready for Forge+Lisp. D:"}
forgure.core
(:import [cpw.mods.fml.common Mod Mod$EventHandler]
[cpw.mods.fml.common.event FMLPreInitializationEvent FMLInitializationEvent FMLPostInitializationEvent])
(:require [clojure.tools.logging :as log])
(:gen-class :name ^{Mod {:modid "forgure"}} forgure.core.FMod
:methods [[^{Mod$EventHandler true} preinit [cpw.mods.fml.common.event.FMLPreInitializationEvent] void]
[^{Mod$EventHandler true} init [cpw.mods.fml.common.event.FMLInitializationEvent] void]
[^{Mod$EventHandler true} postinit [cpw.mods.fml.common.event.FMLPostInitializationEvent] void]]))
#include <stdio.h>
#define begin {
#define end }
#define puts printf
#define def int
def main()
begin
puts("Hello, World\n");