Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 clojure 的读取字符串读取 clojure 源代码文件。然而,单行注释自然会被读者忽略。当我生成新的源代码时,这些注释不再存在。
有没有办法可以保留这些评论?
Rewrite-clj https://github.com/xsc/rewrite-clj似乎非常适合您尝试做的事情?它保留评论。