URL | Stars | Created |
---|---|---|
http://github.com/ahungry/ahungry-janet | 3 | 2020-05-29 02:54:07 |
http://github.com/ahungry/ahungry-janet-user | 0 | 2020-05-29 04:28:45 |
http://github.com/ahungry/janet-code | 8 | 2019-07-28 05:10:59 |
http://github.com/ahungry/janet-p99-map | 1 | 2020-05-10 04:13:27 |
http://github.com/ahungry/janet-pobox | 7 | 2020-05-27 04:36:08 |
http://github.com/ahungry/janet-xbuild | 2 | 2020-05-28 14:17:09 |
http://github.com/ahungry/puny-gui | 83 | 2020-04-24 02:52:59 |
http://github.com/ahungry/puny-server | 1 | 2020-04-23 01:42:38 |
# adapted from content at https://www.reddit.com/r/emacs/comments/z25iyx/treesitter_has_been_merged_into_master/ | |
# install tree-sitter | |
cd ~/src | |
git clone https://github.com/tree-sitter/tree-sitter.git | |
cd tree-sitter | |
# NOTE: update version in Makefile to 0.20.7 | |
sed -i 's/^VERSION := 0\.6\.3$/VERSION := 0.20.7/' Makefile | |
make | |
# NOTE: manually correct 'pkgname', 'pkgversion', and 'provides' |
#/bin/bash | |
# Tested with Arch Linux | |
# Customize as desired - duh (should match where you plan to play Eden) | |
export WINEPREFIX=/mnt/windows/daoc/eden | |
# Used to create initial prefix - maybe run "winecfg" and set windows 7 after | |
wineboot |
Hence, if you are interested in existing applications to "just work" without the need for adjustments, then you may be better off avoiding Wayland.
Wayland solves no issues I have but breaks almost everything I need. Even the most basic, most simple things (like xkill
) - in this case with no obvious replacement. And usually it stays broken, because the Wayland folks mostly seem to care about Automotive, Gnome, maybe KDE - and alienating everyone else (e.g., people using just an X11 window manager or something like GNUstep) in the process.
As 2024 is winding down:
I'll preface this with three things. 1. I prefer schemes over Common Lisps, and I prefer Racket of the Schemes. 2. There is more to it than the points I raise here. 3. I assume you have no previous experience with Lisp, and don't have a preference for Schemes over Common Lisp. With all that out of the way... I would say Common Lisp/SBCL. Let me explain
- SBCL Is by far the most common of the CL implementations in 2021. It will be the easiest to find help for, easiest to find videos about, and many major open source CL projects are written using SBCL
- Download a binary directly from the website http://www.sbcl.org/platform-table.html (even for M1 macs) to get up and running (easy to get started)
- Great video for setting up Emacs + Slime + Quick Lisp https://www.youtube.com/watch?v=VnWVu8VVDbI
Now as to why Common Lisp over Scheme
on linux 4.19, I get
error creating new backup file '/var/lib/dpkg/status-old': Invalid cross-device link
when trying to install stuff on a ubuntu docker container. this seems to be an issue with metacopy https://www.spinics.net/lists/linux-unionfs/msg06109.html
issue can be worked around by running
#!/bin/sh | |
# install needed curl package | |
sudo apt install --no-install-recommends curl -y | |
# install kubectl | |
# https://github.com/kubernetes/minikube/issues/3437#issuecomment-449408316, maybe use https://storage.googleapis.com/minikube/releases/v0.30.0/docker-machine-driver-kvm2 | |
curl -Lo /tmp/kubectl https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl && \ | |
chmod +x /tmp/kubectl && \ | |
sudo mv /tmp/kubectl /usr/local/bin/kubectl | |
# kubectl tab completion | |
sudo sh -c 'echo "source <(kubectl completion bash)" > /etc/bash_completion.d/kubectl' |
# Install ARCH Linux with encrypted file-system, for BIOS. Dustin dut n ex 5 a t g ma il | |
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description. | |
# Download the archiso image from https://www.archlinux.org/ | |
# Copy to a usb-drive | |
dd if=archlinux.img of=/dev/sdX # on linux | |
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration. |
This post also appears on lisper.in.
Reader macros are perhaps not as famous as ordinary macros. While macros are a great way to create your own DSL, reader macros provide even greater flexibility by allowing you to create entirely new syntax on top of Lisp.
Paul Graham explains them very well in [On Lisp][] (Chapter 17, Read-Macros):
The three big moments in a Lisp expression's life are read-time, compile-time, and runtime. Functions are in control at runtime. Macros give us a chance to perform transformations on programs at compile-time. ...read-macros... do their work at read-time.