This project implements a prrof-of-concept compiler that translates TypeScript code into assembly language.
- Compile TypeScript code strings to assembly
- Compile TypeScript files to assembly
- Configurable optimization levels
- Debug information emission
- Cross-platform support (macOS, Linux, Windows)
- Multi-architecture support (AMD64, ARM64)
- CMake (version 3.30 or higher)
- Clang++ or GCC with C++20 support
- Make (for Unix-like systems) or Visual Studio (for Windows)
-
Clone the repository:
git clone https://github.com/yourusername/typescript-compiler.git cd typescript-compiler
-
Configure the project:
cmake -S . -B build
-
Build the project:
cmake --build build
-
Clone the repository:
git clone https://github.com/yourusername/typescript-compiler.git cd typescript-compiler
-
Build the project:
make
Here's a simple example of how to use the compiler:
tscompiler <source.ts> -o <output.asm>
To run the test suite:
cd build
ctest
This project is licensed under the MIT License - see the LICENSE
file for details.
If you have any questions or feedback, please open an issue on the GitHub repository.