Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a22f92205cf37929

Jump to content

KRoC

From Wikipedia, the free encyclopedia

Kent Retargetable occam Compiler
Original authorsFred Barnes, Peter Welch
DevelopersUniversity of Kent, Occam For All Group
Final release
1.4.0 / 14 January 2006; 20 years ago (2006-01-14)
Operating systemSolaris, OSF/1, Parsytec, Linux, FreeBSD
PlatformSPARC, Alpha, PowerPC, IA-32
Size6.67 MB
Available inEnglish
TypeCompiler
LicenseGPL, LGPL
Websitewww.cs.kent.ac.uk/projects/ofa/kroc

The Kent Retargetable occam Compiler (KRoC), is computer software, an implementation of the programming language occam, that is based on the Inmos occam 2.1 compiler as a front-end and a retargetable back-end to produce machine code for various microprocessors. Ports of the compiler have been made for PowerPC, SPARC, x86, and Alpha processors.

Along with the translation to different processors, the KRoC team have modified the compiler significantly, creating a compiler for what has become termed occam v2.5, and now as occam-π, pronounced occam-pi.

Originally the translation from the occam compiler front-end was by interpretation of the American Standard Code for Information Interchange (ASCII) file in assembly language. This worked reasonably well but was slow and occasionally inconvenient.

The current KRoC compiler target is an Extended Transputer Code (ETC), which is then translated into the target machine language. ETC code can be viewed as a kind of byte code: it is a compact description of the compiler's intent on a virtual machine that is similar to the transputer.

ETC-code variants of the KRoC compiler exist for Intel x86 on Linux, and on Windows using Cygwin. A SPARC port was being worked on at some point.

References

[edit]
[edit]