CTAL_0 is a C compiler that creates CTAL0 assembly code and is an extension of the Typed Assembly Language. It is an experimental software.
To get started, download the source code and extract it. Then, navigate to the ctalz-software directory and use the make command to compile the extension. Once compiled, you can run the compiler by invoking the shell script ctc. If the compilation is successful, it generates a CTAL0 assembly file with the suffix ".cts".
To check your typed code, you can run the type-checker by invoking the shell script cttc. If the type-checking succeeds, it generates an x86 assembly file with the suffix ".s".
Let's take an example of how this works. Suppose you want to compile the sample program test.c. Navigate to the ctalz-software directory and run the following commands:
$ ./ctc test.c
$ ./cttc test.cts
$ gcc test.s -lgc
Overall, CTAL_0 is an exciting tool for programmers looking to experiment with C code and generate optimized assembly code.
Version 1.0.0a: N/A