Skip to content

An interpreter for the world's greatest programming language OwO code.

Notifications You must be signed in to change notification settings

le-michael/owo-interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

OwO-interpreter

An interpreter for the world's greatest programming language OwO code. (you're welcome)

Example

/*
* let     -->   OwO
* <       -->   <OwO<
* >       -->   >OwO>
* =       -->   =_=
* !       -->   !_!
* <=      -->   <=_=<
* >=      -->   >=_=>
* ==      -->   <=_=>
* !=      -->   !=_=!
* fn()    -->   \O_O-()
* if      -->   ?_?
* else    -->   e_e
* return  -->   -O_O/
* +       -->   +OwO+
* -       -->   -OwO-
* *       -->   *OwO*
* /       -->   /OwO/
* True    -->   ^-^
* False   -->   -_-
*/

OwO fibOwOnaccsie =_= \O_O-(x) {
  ?_? (x <=_=> 0) {
    -O_O/ 0;
  }
  ?_? (x <=_=> 1) {
    -O_O/ 1;
  }
  -O_O/ fibOwOnaccsie(x -OwO- 2) +OwO+ fibOwOnaccsie(x -OwO- 1);
};

OwO mathOwOequation =_= ((5 *OwO* 10) +OwO+ 18) -OwO- 10) /OwO/ 2;

?_? !_!(^-^) {
  "true"
} e_e {
  "false"
}

About

An interpreter for the world's greatest programming language OwO code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published