Thanks to visit codestin.com
Credit goes to github.com

Skip to content

rahulc29/kaleido

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kaleido

Kaleido is supposed to be a toy language that I'm implementing in accordance to the LLVM tutorial. My aim is to learn the LLVM infrastructure and APIs effectively.

The original tutorial notes that it doesn't the "best engineering practices" to teach the more important concepts - such as how to implement a lexer. In contrast to this, I intend to maintain as much readability as possible.

I'm also not implementing things the tutorial way to get a feel for things myself.

Update [Nov 27, 2021]

Somehow, I can't even get the code to compile! C++ compilers are so bloody stuck in the past that they do not allow for simple cyclic dependencies in type definitions. This lead to me using all sorts of class DeclarationOnly; hoping it would compile. But oh goodness! Clang really tried, but even that brave soul couldn't. What's worse is that all this time, Clion was able to work with these cyclic type definitions perfectly fine! Literally every compiler allows this! 😭😭😭😭 I'll do this whole thing again but in the much better alternative : Rust. I wish I had known Rust earlier when I started the project. Aight, I'm out, peace!

About

Abandoned due to code spaghettification😭

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published