Skip to content

Latest commit

 

History

History
29 lines (26 loc) · 582 Bytes

README.md

File metadata and controls

29 lines (26 loc) · 582 Bytes

Octolang

A Cool Programming Language.
Run the examples by ./octo.sh testing/test.octo

Checkout the example

`

arr a = [53,"hello,world","Bananas",33];
if (5>3) {;
    int p = 31+35;
    sys.print (a.get(2));
    if (3==1) {;
        sys.print ("it works!");
    };
};
# Comment that doesnt make sense;
for (i in sys.prog(1,20)) {;
    sys.print(i);
};
fun String hello (String name,String surname) {;
    return (name+surname);
};
sys.print(hello("Srihari ","Unnikrishnan"))

`