Skip to content

azaleacolburn/rhododendron

Repository files navigation

rhododendron

Just a C-like compiler for fun

The latest commits don't work since I'm refactoring at the moment Test it out on b2abfe948b447c9c6b5e8202dff9391e88f1b413 (Untested, I'm just guessing :P)

Currently working on sonder, where there's a more updated version of the parser.

Todo:

  • Variables
  • Conditionals
  • Pointers / Arrays
  • Functions *
  • Structs
  • AST and code gen optimizations
  • Linker

Known Issues

4: Unusable

3: Major inconvinience

2: Minor inconvinience

1: "Feature"

Returning from functions within if statements

Symptom: Results in segmentation fault.

Suspected Cause: Returning from a stack frame to another stack frame that isn't its parent causes a misalignment in the stack.

Potential Fix: Make if statements return in a different way or make them a different kind of frame

Level 3

This is a huge limitation that will be addressed ASAP.

About

A compiler for a C-like language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published