This repository contains a compiler project that is used to compile hapet programming language projects.
hapet programming language is almost the same as C# programming language but with small differencies.
You can download precompiled installer for you operating system.
You can run compiler from source code:
dotnet restore
cd HapetCompiler
dotnet runusing System;
public static class Program
{
public static int Main(string[] args)
{
Console.WriteLine("Hello world!");
return 0;
}
}Visit hapet documentation to get started with hapet programming language.
- This repository is under MIT license;
- Lexer and Parser are almost fully rewritten from CheezLang. Their license;
- Compiler backend uses LLVM project to emit .obj/.o files. Their license;
- Some Standard Library files are rewritten Roslyn files. Their license for the files;
- Installer creation pipeline uses HashComputer project to make faster hapet compiler updates. Their license;
- This repository uses xwin project to distribute Windows required .lib files with compiler. By using hapet compiler you agree with xwin, Microsoft Windows SDK and Microsoft CRT licenses.
