ArticleslgStudy

computer science

Amsterdam Compiler Kit

Amsterdam Compiler Kit is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Amsterdam Compiler Kit rather than just read about it. In short: The Amsterdam Compiler Kit (ACK) is a retargetable compiler suite and toolchain written by Andrew Tanenbaum and Ceriel Jacobs, since 2005 maintained by David Given. It has frontends for the following programming languages: C, Pascal, Modula-2, BASIC, and Occam.

Key takeaways

  • Amsterdam Compiler Kit belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Amsterdam Compiler Kit to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Amsterdam Compiler Kit from memory before moving on to harder problems.

Reference excerpt

The Amsterdam Compiler Kit (ACK) is a retargetable compiler suite and toolchain written by Andrew Tanenbaum and Ceriel Jacobs, since 2005 maintained by David Given. It has frontends for the following programming languages: C, Pascal, Modula-2, BASIC, and Occam.

History The ACK's notability stems from the fact that in the early 1980s it was one of the first portable compilation systems designed to support multiple source languages and target platforms. The ACK was known as MINIX's native compiler toolchain until the MINIX userland was largely replaced by that of NetBSD (MINIX 3.2.0) and Clang was adopted as the system compiler. It was originally closed-source software, initially distributed by Tanenbaum himself, later through UniPress Software and Transmediair Utrecht as distributors in the Americas and Europe respectively. The distribution of compiler binaries for MINIX was a special case in this arrangement. In April 2003, it was released under the BSD licenses.

Working principle Maximum portability is achieved by using an intermediate language using bytecode, called EM-1 or EM. Each language front-end produces EM object files, which are then processed through several generic optimisers before being translated by a back-end into native machine code. ACK comes with a generic linker and librarian capable of manipulating files in the ACK's own a.out-based format; it will work on files containing EM code as well as native machine code. However, EM code cannot be linked to native machine code without translating the EM binary first.

Target processors ACK backends can produce native machine code for a wide range of CPUs, even starting with small 8 bit CPUs.

6502 65C124 - used for the first software controlled implantable defibrillator, the target was unique in that the C/EM code word size was 1 byte for an int and 2 bytes for a long. 6800 (assembler only) 6805 (assembler only) 6809 (assembler only) ARM 8080* Z80 Z8000 Intel 8086* i386 68000 68020 68040 NS32016 S2650 (assembler only) SPARC VAX4 PDP-11 Broadcom VideoCore IV (BCM2708)* * Version 6.0

See also Portable C compiler

References

Worked examples

Example 1 — a first encounter with Amsterdam Compiler Kit

Start with the simplest possible case. Write down what Amsterdam Compiler Kit claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Amsterdam Compiler Kit before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Amsterdam Compiler Kit ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Amsterdam Compiler Kit

In research
Amsterdam Compiler Kit appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Amsterdam Compiler Kit in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Amsterdam Compiler Kit is common in secondary-school and first-year university syllabi. It links to neighbouring topics BASIC compilers, C (programming language) compilers, Computer science in the Netherlands, so understanding it makes those chapters shorter.
In everyday life
Look for Amsterdam Compiler Kit outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Amsterdam Compiler Kit” →

How to study Amsterdam Compiler Kit in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Amsterdam Compiler Kit means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Amsterdam Compiler Kit out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Amsterdam Compiler Kit in simple terms?

The Amsterdam Compiler Kit (ACK) is a retargetable compiler suite and toolchain written by Andrew Tanenbaum and Ceriel Jacobs, since 2005 maintained by David Given. It has frontends for the following programming languages: C, Pascal, Modula-2, BASIC, and Occam.

Why does Amsterdam Compiler Kit matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Amsterdam Compiler Kit?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Amsterdam Compiler Kit.

Tags

  • BASIC compilers
  • C (programming language) compilers
  • Computer science in the Netherlands
  • Free and open-source software stubs
  • Free and open source compilers
  • Information technology in the Netherlands
  • Minix
  • Modula-2 compilers
  • Pascal (programming language) compilers
  • Software using the BSD license

Keep exploring