From 6266c5d32f9ff651fcfc3a4cc0c68e89da56ca65 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Sun, 11 Apr 2021 17:53:27 -0400 Subject: refactor(users/glittershark): Rename to grfn Rename my //users directory and all places that refer to glittershark to grfn, including nix references and documentation. This may require some extra attention inside of gerrit's database after it lands to allow me to actually push things. Change-Id: I4728b7ec2c60024392c1c1fa6e0d4a59b3e266fa Reviewed-on: https://cl.tvl.fyi/c/depot/+/2933 Tested-by: BuildkiteCI Reviewed-by: tazjin Reviewed-by: lukegb Reviewed-by: glittershark --- users/glittershark/achilles/ach/.gitignore | 7 ------- users/glittershark/achilles/ach/Makefile | 15 --------------- users/glittershark/achilles/ach/externs.ach | 5 ----- users/glittershark/achilles/ach/functions.ach | 8 -------- users/glittershark/achilles/ach/simple.ach | 1 - users/glittershark/achilles/ach/units.ach | 7 ------- 6 files changed, 43 deletions(-) delete mode 100644 users/glittershark/achilles/ach/.gitignore delete mode 100644 users/glittershark/achilles/ach/Makefile delete mode 100644 users/glittershark/achilles/ach/externs.ach delete mode 100644 users/glittershark/achilles/ach/functions.ach delete mode 100644 users/glittershark/achilles/ach/simple.ach delete mode 100644 users/glittershark/achilles/ach/units.ach (limited to 'users/glittershark/achilles/ach') diff --git a/users/glittershark/achilles/ach/.gitignore b/users/glittershark/achilles/ach/.gitignore deleted file mode 100644 index ac5296ebbd74..000000000000 --- a/users/glittershark/achilles/ach/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -*.ll -*.o - -functions -simple -externs -units diff --git a/users/glittershark/achilles/ach/Makefile b/users/glittershark/achilles/ach/Makefile deleted file mode 100644 index 3a8cd2865e87..000000000000 --- a/users/glittershark/achilles/ach/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -default: simple - -%.ll: %.ach - cargo run -- compile $< -o $@ -f llvm - -%.o: %.ll - llc $< -o $@ -filetype=obj - -%: %.o - clang $< -o $@ - -.PHONY: clean - -clean: - @rm -f *.ll *.o simple functions diff --git a/users/glittershark/achilles/ach/externs.ach b/users/glittershark/achilles/ach/externs.ach deleted file mode 100644 index faf8ce90e353..000000000000 --- a/users/glittershark/achilles/ach/externs.ach +++ /dev/null @@ -1,5 +0,0 @@ -extern puts : fn cstring -> int - -fn main = - let _ = puts "foobar" - in 0 diff --git a/users/glittershark/achilles/ach/functions.ach b/users/glittershark/achilles/ach/functions.ach deleted file mode 100644 index dc6e7a1f3e34..000000000000 --- a/users/glittershark/achilles/ach/functions.ach +++ /dev/null @@ -1,8 +0,0 @@ -ty id : fn a -> a -fn id x = x - -ty plus : fn int -> int -fn plus (x: int) (y: int) = x + y - -ty main : fn -> int -fn main = plus (id 2) 7 diff --git a/users/glittershark/achilles/ach/simple.ach b/users/glittershark/achilles/ach/simple.ach deleted file mode 100644 index 20f1677235c0..000000000000 --- a/users/glittershark/achilles/ach/simple.ach +++ /dev/null @@ -1 +0,0 @@ -fn main = let x = 2; y = 3 in x + y diff --git a/users/glittershark/achilles/ach/units.ach b/users/glittershark/achilles/ach/units.ach deleted file mode 100644 index 70635d978c7c..000000000000 --- a/users/glittershark/achilles/ach/units.ach +++ /dev/null @@ -1,7 +0,0 @@ -extern puts : fn cstring -> int - -ty print : fn cstring -> () -fn print x = let _ = puts x in () - -ty main : fn -> int -fn main = let _ = print "hi" in 0 -- cgit 1.4.1