Skip to content

A work in progress compiler front-end for the Requite programming langauge.

License

Notifications You must be signed in to change notification settings

Journeyman1337/requite_cxx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requite

NOTICE: This repository contains a compiler front-end that is in the early stages of development. Its buggy, incomplete, and hard to work with. Use it at your own risk!

Requite is a statically typed systems programming langauge with a homoiconic syntax.

Stages

  1. Read source files
  2. Parse abstract syntax tree for each file
  3. Catalogue types and functions (so there is no need for forward declarations later)
  4. Build ir with LLVM
  5. Output intermediate files with LLVM
  6. Compile with clang

Syntax Examples

Example files can be found in the test_sources folder. There are no command line options yet, and all configuration should be done by changing the C++ source code in <src/main.cpp>. When running the test source files, make sure that there is only one entry_point operation across all source files. Some files contain definitions used by other sources, so you need to compile them together. For further instructions, look at the <test_sources/test.bash> file.

About

A work in progress compiler front-end for the Requite programming langauge.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages