Skip to content

Instantly share code, notes, and snippets.

View andyarvanitis's full-sized avatar

Andy Arvanitis andyarvanitis

View GitHub Profile
#!/usr/bin/env bash
# Ensure any prebuilt GNUstep packages are uninstalled before running this script
# Adapted from
# http://wiki.gnustep.org/index.php/GNUstep_under_Ubuntu_Linux
# and https://stackoverflow.com/questions/40698870/compiling-objective-c-on-debian-8-gnu-linux-with-clang-and-gnustep-make
# Show prompt function
function showPrompt()
@andyarvanitis
andyarvanitis / Makefile.arduino
Last active March 19, 2019 03:03
purescript-native makefile to build for Arduino target (experimental)
# PureScript to native binary (via C++) Makefile
#
# Run 'make' or 'make release' to build an optimized release build
# Run 'make debug' to build a non-optimized build suitable for debugging
#
# You can also perform a parallel build with 'make -jN', where N is the
# number of cores to use.
#
# PURS, SRC, OUTPUT, and BIN can all be overridden with the
# command itself. For example: 'make BIN=myutil'
@andyarvanitis
andyarvanitis / blink.purs
Last active March 19, 2019 02:55
purescript-native Arduino target blinky (experimental)
@andyarvanitis
andyarvanitis / blink_ffi.cpp
Created March 18, 2019 03:15
purescript-native Arduino target blinky ffi (experimental)