作者jans0204 (jans0204)
看板PLT
标题[实作] J008:HOC (High Order Calculator)
时间Fri Aug 26 00:15:56 2022
J008:HOC (High Order Calculator)
The Unix Programming Environment - Brian Kernighan, Rob Pike
(Prentice-Hall 1984, ISBN 0-13-937681-X)
下载:
# The original code from the Unix Programming Environment book, including hoc.
https://web.archive.org/web/20000816174822/http://cm.bell-labs.com/who/bwk/unixprogenv.tar.gz
# Source code of hoc from Bell Labs, released as free software. This is the
Research Unix version, slightly improved over the one in the book.
https://web.archive.org/web/19991011232359/http://netlib.bell-labs.com/~bwk/hoc.sh
# an extended version of hoc by Nelson H. F. Beebe.
http://www.math.utah.edu/pub/hoc/
http://ftp.math.utah.edu/pub/hoc/hoc-7.0.6.beta.pdf
http://ftp.math.utah.edu/pub/hoc/hoc-7.0.6.beta.zip
http://ftp.math.utah.edu/pub/hoc/hoc-7.0.6.beta.zip-lst
# an extended version of hoc by Nadav Y. Har'El.
http://nadav.harel.org.il/homepage/hoc/
http://nadav.harel.org.il/homepage/hoc/hoc-9.2.tgz
http://nadav.harel.org.il/homepage/work.html
# yacc-1.9.3-1
https://sourceforge.net/projects/tiny-cobol/files/misc/yacc-1.9.3-1.mingw32.zip
https://sourceforge.net/projects/tiny-cobol/files/misc/yacc-1.9.3-1.tar.gz
# yacc, or oyacc, is a portable version of the OpenBSD Yacc program.
https://github.com/ibara/yacc
https://github.com/ibara/yacc/releases
https://github.com/ibara/yacc/releases/tag/oyacc-6.6
https://github.com/ibara/yacc/releases/download/oyacc-6.6/oyacc-6.6.tar.gz
後记:
hoc-7.0.6 没实作,因为 hoc 只是学习教材,没必要搞成 DSL。
oyacc-6.6 实际上就是 yacc193,加 o 表示 OpenBSD (Berkeley Software Distribute)
而 byacc (Berkeley Yacc) 现在通称为 yacc。早旧的 yacc 反而要称之 Unix yacc。
6.6 大概是他实作的版本,但只是要加入 portable 也要到 6.6,难道每加入一个 OS 就
要加一版本?
hoc6o 这个目录,只是要验证 oyacc 的正确性。
(END)
https://github.com/jans0204/J008-HOC-High-Order-Calculator-
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 124.218.31.163 (台湾)
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/PLT/M.1661444169.A.187.html