Skip to content

Instantly share code, notes, and snippets.

View AlecTroemel's full-sized avatar
🍔

Alec Troemel AlecTroemel

🍔
View GitHub Profile
@cellularmitosis
cellularmitosis / Makefile
Last active August 5, 2020 00:19
Trivial Janet project with a bundled native C module
default: test-foo test-baz
build/foo.a: foo.c
jpm --verbose build
test-foo: build/foo.a
test 42 = $(shell janet -e '(import build/foo :as foo) (print (foo/bar))')
repl-foo: build/foo.a
janet -e '(import build/foo :as foo)' -r
@christoph-frick
christoph-frick / Awesome-Fennel.md
Last active March 1, 2024 19:42
Use fennel to write the awesome-wm config

How to write an awesome-wm config with Fennel

Awesome-WM is a X11 window manager, that is configured via Lua. Fennel is a Lisp for Lua. This shows a general setup of how to write your awesome-wm config using fennel directly without the compilation step (which would also work, but is not needed).

General setup

Fetch a recent Fennel version (the