This is the prototype compiler to parse and generate output for the Zax language.
Early coding stages.
The first goal is to make the code function without concerning too much about performance, instance ownerships, or optimal coding practices. The generator will output C or C++ for the first pass and later integrate LLVM to perform direct compilations.
The following dependencies are required:
These dependencies are expected to be cloned within the same containing folder that already contains Zax Compiler.
Currently only the Microsoft Visual Studio Compiler is supported and the editor / compiler using Visual Studio Code with the C/C++ for Visual Studio Code. The code is designed cross platform thus other compiler options can be made available.
See https://code.visualstudio.com/docs/languages/cpp.
Important quick guide steps:
- Install Visual Studio Community 2019
- Install Visual Studio Code
- Install C/C++ for Visual Studio Code
- Launch a Developer Command Prompt for VS2019
cd E:\sources\zax-compiler
(change as appropriate)- Launch Visual Studio Code from the prompt
code .
- Select
Terminal->Run Build Task...
(some option choice may be prompted)
MIT License. See LICENSE.
Please examine dependencies for their licensing.
As this is early stages, there is no support offered at this time. The compiler will not do anything at this phase of coding.
Please post issues on GitHub.