Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

A repository containing Leaf lang's compiler and formal specification.

Notifications You must be signed in to change notification settings

MaximumOverflow/Leaf-Legacy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leaf

This repository contains an incomplete, legacy version of Leaf's compiler, which is currently being re-written. This is just a messy proof of concept and should be treated as such. This repo will soon be archived and replaced by a new, proper version of the compiler.

Overview

Leaf is a performance-oriented compiled programming language. The intended audience is the performance-minded developer who values readability, simplicity and fast development iteration.

Design goals

  • Leveraging the LLVM and CLR infrastructures

  • High performance execution

    • No GC or ref counting overhead
    • Only pay for what you use
    • Minimal runtime
  • Control over memory

    • Support for custom allocators
    • Enhanced control over stack memory
  • Low-friction interop with C and C++

    • Statically or dynamically link to ordinary C/C++ libraries
    • Support for C/C++ structure layouts and calling conventions
  • Low-friction interop with C# and the .Net platform.

    • Support for CLR assebly generation.

If you'd like to know more about Leaf, please refer to the Wiki.

About

A repository containing Leaf lang's compiler and formal specification.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published