Live data from Hacker News

Amsterdam Compiler Kit

github.com

11–20 of 75 posts

Re: Amsterdam Compiler Kit

#12
One of the first widely used compiler toolkits with multiple frontends, intermediate language for the phases and a common backend.

Contrary to common understanding LLVM wasn't the very first one, ACK also not, there are others predating it when diving into compiler literature.

Re: Amsterdam Compiler Kit

#13

tl;dr: A kit for targeting several old or old-ish platforms, with code in some languages popular in the 1980s: C89 (ANSI C), Pascal, Modula 2, Basic. A 'kit' here means: frontend, codegen, support libraries and some tools. This is apparently known as being the default toolchain for Minix 1 and 2. But - the repository is not "everything you need"; it actually relies on a lot from an existing platform - GCC, Lua, Make,…

It doesn't rely on gcc. Any C compiler will do. The rest is there to build it on " Linux, OSX, and Windows using MSYS2 and mingw32". Indeed for cross-compilation, as it won't run on CP/M.

Re: Amsterdam Compiler Kit

#14

tl;dr: A kit for targeting several old or old-ish platforms, with code in some languages popular in the 1980s: C89 (ANSI C), Pascal, Modula 2, Basic. A 'kit' here means: frontend, codegen, support libraries and some tools. This is apparently known as being the default toolchain for Minix 1 and 2. But - the repository is not "everything you need"; it actually relies on a lot from an existing platform - GCC, Lua, Make,…

ACK used to be self-hosting. Of course, standard Unix utilities like sh and make are required. I still use one of those versions.

Re: Amsterdam Compiler Kit

#15
Is this the same compiler that famously spurred Richard Stallman to create GCC [1] when its author "responded derisively, stating that the university was free but the compiler was not"?

It seems to be free now anyway, since 2005 according to the git history, under a 3-clause BSD license.

[1] https://www.gnu.org/gnu/thegnuproject.en.html

Re: Amsterdam Compiler Kit

#17

I’m still making my way through the MINIX book. Love it.

Are you working through the 1st or 2nd edition of the book ? I think these are the ones that used ACK.

I remember after I read the 1st edition, bought MINIX ($150 !!), and then was very annoyed to find that the compiler source was not included. Luckily it was '89 or '90 and GCC sources were available.

Re: Amsterdam Compiler Kit

#18

I’m still making my way through the MINIX book. Love it.

Are you working through the 1st or 2nd edition of the book ? I think these are the ones that used ACK.

I’m working through the third edition which I believe is also ACK based as far as I can tell. MINIX version 3.1.0?

Re: Amsterdam Compiler Kit

#19
post #15

Is this the same compiler that famously spurred Richard Stallman to create GCC [1] when its author "responded derisively, stating that the university was free but the compiler was not"? It seems to be free now anyway, since 2005 according to the git history, under a 3-clause BSD license. [1] https://www.gnu.org/gnu/thegnuproject.en.html

[deleted]

Re: Amsterdam Compiler Kit

#20

Earlier quoted context omitted.

Are you working through the 1st or 2nd edition of the book ? I think these are the ones that used ACK.

I’m working through the third edition which I believe is also ACK based as far as I can tell. MINIX version 3.1.0?

[deleted]
Post reply on HN