What's Wuttyi?
Core Feature
Everything is expression 👻
I just developed this tiny programming language because of boring in higher level programming construct.
BE AWARE
The name Wuttyi
is not the name of a girl. I don't even have a girl friend.
Motivation
Motivation
Don't give up! Try your best.
Language Features
Wuttyi supports modern programming language construct 🎉
Acknowledgement
This language is not intended to be production ready language. It might miss out of language design and other features that you had seen in other programming languages.
- Imperative, Functional and Object-Oriented paradigms
- Number, String, Common Math Operators, Comparison Operators and Logical Operators
- Variable, Scope and Scope Chain, Lexical Scoping
- Function, Closure, HoFs, Lambda, Immediately Invoked Function Expression (IIFE) and Immediately Invoked Lambda Expression ( IILE)
- Control Flows
- Class and Inheritance
- Module System
Basic Example
lisp
// factorial
(func factorial (x)
(begin
(if (= x 1)
1 // true
(begin
(* x (factorial (- x 1)))
)
)
)
)
(print (factorial 5))
Many Parenthesis?
Be a LISP developer 👻
Execute the program
bash
pnpm install -g wuttyi
wuttyi run filename.wuttyi