如何在LISP中成为读者宏来阅读原始字符串(即后斜线是字面意思不是逃生字符)
写下此r“ c:\ data”
在Python中,您可以在LISP中 ?即,我想要一个具有相同功能的读取器宏,因此我不再需要在Windows路径中逃脱后斜线。我不想使用前向斜线,因为Windows中的大量命令不了解它们。
In python you can write this r"c:\data"
How do I the same in lisp? ie I want a reader macro that has the same functionality so I no longer need to escape backslashes in windows paths. I do not want to use forward slashes as plenty of commands in windows dont understand them.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
例如
,现在
显然将更仔细地写一个真实的版本
For instance
And now
obviously a real version would be more carefully written