Skip to main content
Glama

gerbil_expand_macro

Expand Gerbil Scheme macros to show core-expanded forms using syntax->datum, revealing how expressions transform during compilation.

Instructions

Show the macro expansion of a Gerbil Scheme expression. Returns the core-expanded form using syntax->datum. Example: "(when #t (displayln "hi"))" expands to a %#if form.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
expressionYesThe Gerbil expression to expand
importsNoModules to import for macro definitions

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ober/gerbil-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server