Logo
Explore Help
Sign In
JosephFerano/flan
1
0
Fork 0
You've already forked flan
Code Issues Pull Requests Packages Projects Releases Wiki Activity
flan/test/syntax/flat/capture.flan
Joseph Ferano 0e26af2107 A macro body counts as run in order only when nothing outside its templates depends on how the body splits into arguments, a let whose longer scope would reach a macro naming it stays in a do: block, and converted programs with shadowed names and macro bodies print what their paren originals print
2026-09-25 23:00:27 +07:00

7 lines
115 B
Plaintext
Raw Blame History

(defmacro show-it [] `(println it))
(defn main [] i32
(let [it 1]
(let [it 2] (show-it))
(show-it))
0)
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 1643ms Template: 67ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API