This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
description = "Pinning Elixir & Erlang altogether"; | |
# https://github.com/erlang/otp/archive/refs/tags/OTP-${VERSION}.zip | |
# https://github.com/elixir-lang/elixir/archive/refs/tags/v${VERSION}.zip | |
inputs = { | |
flake-utils.url = "github:numtide/flake-utils"; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
const fs = require("fs"); | |
const parse = require("css").parse; | |
const path = require("path"); | |
if (process.argv.length !== 3) { | |
const exec = path.basename(process.argv[1]); | |
console.log(`usage ./${exec} input.css`); | |
console.log("converts css to elm-css snippets"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export interface IChecker { | |
check: (word: string) => boolean; | |
}; | |
export interface ClumsyEntry { | |
valid: boolean; | |
children: ClumsyEntries; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE ForeignFunctionInterface #-} | |
module HSMain where | |
import Main | |
foreign export ccall hs_main :: IO () | |
hs_main :: IO () | |
hs_main = main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include "HsFFI.h" | |
#ifdef __APPLE__ | |
#include <objc/objc.h> | |
#include <objc/objc-runtime.h> | |
#endif | |
#include <SDL.h> | |