An Entity of Type: language, from Named Graph: http://dbpedia.org, within Data Space: dbpedia.org

hoc, an acronym for High Order Calculator, is an interpreted programming language that was used in the 1984 book The Unix Programming Environment to demonstrate how to build interpreters using Yacc. hoc was developed by Brian Kernighan and Rob Pike as a glorified interactive calculator. Its basic functionality is to evaluate floating-point numerical expressions, e.g., <span class="m">1</span><span class="o">+</span><span class="m">2</span><span class="o">*</span>sin<span class="p">(</span><span class="m">0.7</span><span class="p">)</span>. Then, variables were added, conditionals, loops, user-defined functions, simple IO, and more, using a syntax resembling C.

Property Value
dbo:abstract
  • hoc, an acronym for High Order Calculator, is an interpreted programming language that was used in the 1984 book The Unix Programming Environment to demonstrate how to build interpreters using Yacc. hoc was developed by Brian Kernighan and Rob Pike as a glorified interactive calculator. Its basic functionality is to evaluate floating-point numerical expressions, e.g., <span class="m">1</span><span class="o">+</span><span class="m">2</span><span class="o">*</span>sin<span class="p">(</span><span class="m">0.7</span><span class="p">)</span>. Then, variables were added, conditionals, loops, user-defined functions, simple IO, and more, using a syntax resembling C. An improved hoc interpreter was included in Eighth Edition Research Unix in 1985, but it has not been generally adopted by commercial Unix systems or by Linux distributions. Instead, the earlier calculator languages dc and bc have become widespread on those systems. hoc survived and continued to evolve as part of the Plan 9 operating system. Several improved versions of Hoc were released as free software by Bell Labs and other individuals (see list below). hoc is used as the primary scripting language for the Neuron simulator. (en)
dbo:author
dbo:computingPlatform
dbo:genre
dbo:license
dbo:operatingSystem
dbo:programmingLanguage
dbo:wikiPageExternalLink
dbo:wikiPageID
  • 12675204 (xsd:integer)
dbo:wikiPageLength
  • 4604 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID
  • 1096095296 (xsd:integer)
dbo:wikiPageWikiLink
dbp:author
dbp:genre
dbp:license
  • Plan 9: MIT License (en)
dbp:name
  • hoc (en)
dbp:operatingSystem
dbp:platform
dbp:programmingLanguage
dbp:wikiPageUsesTemplate
dcterms:subject
gold:hypernym
rdf:type
rdfs:comment
  • hoc, an acronym for High Order Calculator, is an interpreted programming language that was used in the 1984 book The Unix Programming Environment to demonstrate how to build interpreters using Yacc. hoc was developed by Brian Kernighan and Rob Pike as a glorified interactive calculator. Its basic functionality is to evaluate floating-point numerical expressions, e.g., <span class="m">1</span><span class="o">+</span><span class="m">2</span><span class="o">*</span>sin<span class="p">(</span><span class="m">0.7</span><span class="p">)</span>. Then, variables were added, conditionals, loops, user-defined functions, simple IO, and more, using a syntax resembling C. (en)
rdfs:label
  • Hoc (programming language) (en)
owl:sameAs
prov:wasDerivedFrom
foaf:isPrimaryTopicOf
foaf:name
  • hoc (en)
is dbo:wikiPageDisambiguates of
is dbo:wikiPageWikiLink of
is foaf:primaryTopic of
Powered by OpenLink Virtuoso    This material is Open Knowledge     W3C Semantic Web Technology     This material is Open Knowledge    Valid XHTML + RDFa
This content was extracted from Wikipedia and is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License