Skip to content

Conversation

@simendsjo
Copy link

Add support for G-expressions used in Guix. Emacs will read the reader macros as nil, e.g. #$foo becomes nil foo. We interpret these as a lisp-macro to get around this.

Ref https://guix.gnu.org/manual/devel/en/html_node/G_002dExpressions.html#index-_0023_007eexp

Fixes #15

Add support for G-expressions used in Guix. Emacs will read the reader
macros as nil, e.g. `#$foo` becomes `nil foo`. We interpret these as a
lisp-macro to get around this.

Ref https://guix.gnu.org/manual/devel/en/html_node/G_002dExpressions.html#index-_0023_007eexp

Fixes enzuru#15
@simendsjo simendsjo marked this pull request as draft October 27, 2025 09:07
@simendsjo
Copy link
Author

I found a bug: (f #$a) still formats to (f nil a). I'll look into it and update the PR.

@enzuru
Copy link
Owner

enzuru commented Oct 28, 2025

Thanks @simendsjo , I'll be watching this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

lispy-fill evaluates scheme reader macro

2 participants