Skip to content

Releases: Nirlep5252/fun

fun_v1.1

19 Oct 18:05
Compare
Choose a tag to compare

Version v1.1

  • Added builtin functions sin, cos, tan, log

v1

19 Oct 17:50
Compare
Choose a tag to compare
v1

🚀 Lets go!

This release includes:

  • Basic operations on number datatype.
  • boolean datatype, comparison operators, logical operators.
  • show keyword to print output.
  • Variables (let keyword) which can be mutable or not using mut keyword.
  • Scopes
  • Condition statements (if, else)
  • Loops (for, while) (there is no break or continue though)
  • User defined functions (fn keyword) and 1 builtin function (time())
  • User input using get keyword

Building this project has helped me a lot in learning some fundamentals of how to build interpreters, design and parse language, and more thanks to the amazing book Crafting Interpreters by Bob