gpt4 book ai didi

knuth - 什么是 Knuth 的 WEB?

转载 作者:行者123 更新时间:2023-12-01 05:03:07 26 4
gpt4 key购买 nike

我一直在想弄清楚唐纳德·克努斯 (Donald Knuth) 的 WEB是的,但真的很矛盾。我从网页上了解到它类似于 doxygen,但我阅读的所有资料都坚持认为它是一种编程语言。但是,它看起来不像我见过的任何编程语言。

那么WEB究竟是什么?是否有一些文档可以解释它?

最佳答案

令人惊讶的问题,因为没有什么比快速搜索更不容易找到的:

来自维基百科页面 https://en.wikipedia.org/wiki/WEB :

WEB is a computer programming system created by Donald E. Knuth as the first implementation of what he called "literate programming": the idea that one could create software as works of literature, by embedding source code inside descriptive text, rather than the reverse (as is common practice in most programming languages), in an order that is convenient for exposition to human readers, rather than in the order demanded by the compiler.

WEB consists of two secondary programs: TANGLE, which produces compilable Pascal code from the source texts, and WEAVE, which produces nicely-formatted, printable documentation using TeX.

CWEB is a version of WEB for the C programming language, while noweb is a separate literate programming tool, which is inspired by WEB (as reflected in the name) and which is language agnostic.

The most significant programs written in WEB are TeX and Metafont. Modern TeX distributions use another program Web2C to convert WEB source to C.



作者强烈推荐的书中的更多信息:

文学编程(语言和信息研究中心 - 讲义)平装本 – 1992 年 6 月 1 日

ISBN-13:978-0937073803 ISBN-10:0937073806

在 Amazon.com 或更好地查看这本书的评论,购买这本书并开始阅读。

关于knuth - 什么是 Knuth 的 WEB?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31331971/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com