Skip to content

TriDEntApollO/Cerium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cerium

Cerium my own hobby programming language that i am building to learn and unravel how compilers actually work under the hood. th compiler is built on C++ and is called cer for now.

P.S. this project was acutally inspired by hydrogen by orosmatthew.

Support

Currently only supports

  • Operating systems: Linux
  • Architectures: x86_64

Features

Current working features are:

  • Varaible declaration
  • Varaible initialization
  • Working Scopes
  • Arithmetic operations
  • Bitwise operations
  • Operator precendenc
  • If else and else if
  • Comments
  • Some what readable error messages

Build

Requires nasm and ld on a Linux operating system.

git clone https://github.com/TriDEntApollO/Cerium.git
cd Cerium
mkdir build
cmake -S . -B build
cmake --build build

Executable will be cer in the build/ directory.

TODO

Urgent

  • Imports
  • Main function
  • Aliases
  • Conditional logic

Others

  • More data types
  • Funtions and funtion calls
  • Better error messages from the compiler.

Note

This for now is a hobby project which might change in the future to an actual language but lets not get ahead of ourselves.

About

My own programming language compiler for fun

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors