Skip to content

Squizoff/SquareLang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SquareLang

An experimental C-like language and compiler written in C. square compiles .square files into LLVM IR (.ll), which you can then build with clang.

Quick Start

cmake -S . -B build
cmake --build build -j

Example

cd example
../bin/square example.square out.ll
clang out.ll -o out
./out

Project Structure

  • src/ - compiler source code
  • example/ - SquareLang example programs
  • bin/ - built square binary

About

C-Like langauge with own compiler

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors