The GNU Modula-2 version of the "cradle", described in "Lets build a compiler" by Jack
Crenshaw.

The original version uses Pascal as programming language and generated 68000 assembly.

I changed the language to Modula-2, and the generated assembly is AMD64.

The assembly generated can be assembled, linked and executed.

Commands to compile and assemble :

gm2 -fiso -o cradle7 cradle7.mod

nasm -f elf64 -g -F dwarf cradleasm7.asm -o cradleasm7.o

ld cradleasm7.o -o cradleasm7

Eric Streit 7f3d22e1c0 asm files deleted as they can be generated hace 5 meses
Assembly f930626230 first part of the work hace 5 meses
Tests f930626230 first part of the work hace 5 meses
.gitignore 5078f6271d *.o files excluded hace 5 meses
cradle f930626230 first part of the work hace 5 meses
cradle.mod f930626230 first part of the work hace 5 meses
cradle0 f930626230 first part of the work hace 5 meses
cradle0.mod f930626230 first part of the work hace 5 meses
cradle1 f930626230 first part of the work hace 5 meses
cradle1.mod f930626230 first part of the work hace 5 meses
cradle2 f930626230 first part of the work hace 5 meses
cradle2.mod f930626230 first part of the work hace 5 meses
cradle3 f930626230 first part of the work hace 5 meses
cradle3.mod f930626230 first part of the work hace 5 meses
cradle4 f930626230 first part of the work hace 5 meses
cradle4.mod f930626230 first part of the work hace 5 meses
cradle5 f930626230 first part of the work hace 5 meses
cradle5.mod f930626230 first part of the work hace 5 meses
cradle6 f930626230 first part of the work hace 5 meses
cradle6.mod 3bdb4407c5 some corrections hace 5 meses
cradle7 f930626230 first part of the work hace 5 meses
cradle7.mod 3bdb4407c5 some corrections hace 5 meses
cradleasm1 f930626230 first part of the work hace 5 meses
cradleasm2 f930626230 first part of the work hace 5 meses
cradleasm2-1 f930626230 first part of the work hace 5 meses
cradleasm3 f930626230 first part of the work hace 5 meses
cradleasm5 f930626230 first part of the work hace 5 meses
cradleasm6 f930626230 first part of the work hace 5 meses
git_commands.txt 3bdb4407c5 some corrections hace 5 meses