Hazel is an open source, purely functional, declartive programming language that is designed to make functional programming more apporachable for people coming from imparaitive langauges such as C.
make sure you have CMake v3.22.1 and the LLVM version 17.0.0 if not download them here
now run this in your terminal
cmake -S . -B build
cmake --build build --config Release -DPROFILING={ON|OFF}
./hazelc --helpThis a list of features I have implemented in the compiler
- Comments
- Functions
- Conditionals
- Modules and Mdules Imports
- Lists
- Function calls without parameters
- Function calls with parameters
- Anonmyous Functions
- Native Types
- Struct Types
- Generics
- Variants (enum)
- Function Types
- None
- Basic Math Operators
- Boolean Operators
- String Operators(concation done, Substring and charat needs some work)
- Bitwise Operators
- List Operators
- Unary Operators