语言与文风2017code-poetry.com
代码诗歌
Code Poetry
导读
这是一个「代码诗」网站:每首诗既是可运行的代码,运行后又真的会生成与诗文主题相关的图像。对写作者来说,它提供了一个极端的示范——形式本身就是内容,约束(语法必须能跑通)反而逼出意外的表达。
可以直接用的写作要点
- 01
让载体参与表意:文字的排版、格式或媒介本身可以承载主题,而不只是内容的容器。
- 02
练习「双重读者」意识:同一段文字让不同读者以不同方式读取(机器读语法,人读诗意),会逼出更致密的语言。
- 03
给自己设一条硬约束(字数、格律、必须能运行等),约束往往比自由更容易催生创意。
- 04
主动去找该形式里的经典范例(如 Black Perl),为自己的实验找到坐标与参照。
HN 评论精选
代码诗的关键在于执行结果与文本主题彼此呼应;经典范例 Black Perl 说明代码与诗意可以同形同构。
这真的很惊艳。我偶尔会看代码诗,但从没见过执行后真的能画出与文本主题相关图像的——尤其喜欢那首 Piet 的,它像是把整个过程反过来做了一遍。顺便分享一个老牌著名例子《Black Perl》:它既是能运行的 Perl 程序,又通篇读起来是一首关于献祭与死亡的诗,像「die sheep! die to reverse the system / you accept」这样的句子,代码指令与诗句恰好同形。
mklim查看英文原文
This is really impressive. I check out code poems occasionally and I don't think I've ever seen ones where executing them actually draws images related to the subject matter of the text itself. Love the piet one sort of doing it in reverse especially. Thank you for sharing. Here's another old famous example of these for anyone interested, "Black Perl" (https://en.wikipedia.org/wiki/Black_Perl) BEFOREHAND: close door, each window & exit; wait until time. open spellbook, study, read (scan, select, tell us); write it, print the hex while each watches, reverse its length, write again; kill spiders, pop them, chop, split, kill them. unlink arms, shift, wait & listen (listening, wait), sort the flock (then, warn the "goats" & kill the "sheep"); kill them, dump qualms, shift moralities, values aside, each one; die sheep! die to reverse the system you accept (reject, respect); next step, kill the next sacrifice, each sacrifice, wait, redo ritual until "all the spirits are pleased"; do it ("as they say"). do it(*everyone***must***participate***in***forbidden**s*e*x*). return last victim; package body; exit crypt (time, times & "half a time") & close it, select (quickly) & warn your next victim; AFTERWARDS: tell nobody. wait, wait until time; wait until next year, next decade; sleep, sleep, die yourself, die at last # Larry Wall
同类还值得读
像说话一样写作
Write like you talk
这篇短文主张写作应像说话一样自然、清晰,避免装腔作势的书面腔。
语言与文风2015 · 647 分 · 272 评4 条写作要点编辑精选法律语言难懂源于写作不佳,而非专业概念
Poor writing, not specialized concepts, drives difficulty with legal language
这是一项认知科学研究:法律文本难懂,主要不是因为充斥专业术语,而是因为写作者把句子写得又长又绕、修饰语层层嵌套、回指距离过远。
语言与文风2022 · 559 分 · 322 评5 条写作要点编辑精选写得简单
Write Simply
保罗·格拉汉姆在这篇短文里主张:好文章应该写得简单——用日常词汇、短句、直白的结构,不为显得聪明而堆砌复杂表达。
语言与文风2021 · 484 分 · 330 评4 条写作要点编辑精选Tortured phrases:科学写作中出现的一种可疑文风
Tortured phrases: A dubious writing style emerging in science
《自然》新闻报道了一种在科学论文中蔓延的怪现象:原本标准的术语被同义替换软件改写成了古怪说法,比如把 "cloud computing" 写成 "haze figuring"。
语言与文风2021 · 329 分 · 256 评4 条写作要点编辑精选乔治·奥威尔 1940 年对《我的奋斗》的书评
George Orwell's review of Mein Kampf (1940)
这是奥威尔1940年对《我的奋斗》的书评。
语言与文风2014 · 305 分 · 240 评4 条写作要点编辑精选