Skip to content

zigalenarcic/llvm_language

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lang

This is a small language with compilation to machine code using LLVM.

Building

Type

  make

Features

  • integer basic math
  • definition and calling of functions
  • compilation in memory - JIT

Example

Run ./lang and type:

  a(x) = { 10 * x; }; a(a(10 + 20) - 1);

About

A toy language which uses LLVM for compilation to machine code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published