Skip to content

Rationale for and/or story behind lisp-like config syntax? #183

Answered by jtroo
riotrah asked this question in Q&A
Discussion options

You must be logged in to vote

Short answer: kmonad did it, haha

Long answer: I wanted a configuration language that could express the features that projects like QMK can express via writing C code. I wasn't initially looking to write kanata, I was actually hoping kmonad would satisfy all my use cases. After I discovered that kmonad didn't fit my taste, in my quest to get something working as fast as possible, I picked something proven to work (kmonad), easy to parse (because I'm lazy), and that was a S-expression based config.

The kanata cfg language is solely intended to be a configuration language and not a turing-complete language. It exists solely to configure a keyberon layout state machine, which is more prior a…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@gerhard-h
Comment options

@jtroo
Comment options

Answer selected by riotrah
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants