OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-09

hoc-1.1p1

from Kernighan & Pike: High Order Calculator

Back to search · Project homepage

Description

Hoc interprets a simple language for floating point arithmetic, at about the level of Basic, with C-like syntax and functions. Hoc was written by Kernighan & Pike and published in their 1984 classic UNIX book "The UNIX Programming Environment" (Prentice-Hall, ISBN 0-13-937681-X),

Package information

Ports path
math/hoc
Package architecture
amd64
Maintainer
Ian Darwin <ian@openbsd.org>
Categories
math
Available flavors
None listed

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

None listed in sqlports.

Installing and updating packages · Package details as JSON