YaroslavPryatkin/CoolCalculator: My project of creating a mini-programming language that can handle user-defined functions, variables, recursion.
github.com·5d·
🅒C language programming
Preview
Report Post

CoolCalculator

CoolCalculator is a console-based mini programming language and expression evaluator. It supports user-defined variables and functions, recursion, references, local scopes, sequential execution, and multi-line input. While it started as a calculator, it now functions more like a small interpreted language.


Features

  • User-defined variables and functions
  • Recursive function calls
  • Function overloading
  • Local variables with local and endlocal
  • Function arguments passed by reference
  • Sequential execution using the ; operator
  • Multi-line input support
  • Automatic creation of undefined variables
  • Prefix, infix, and postfix system functions
  • One-argument prefix functions may omit parentheses
  • Zero-argument functions can be used as variables
  • Automa…

Similar Posts

Loading similar posts...