Skip to content

0xdeadbad/yal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yal

YAL (YET ANOTHER LANGUAGE)

Syntax at the moment

fn main() : void {
	let variable: int = (4 * 2) + 5;
	variable = 4;
	variable = 5 * 2 * ( 5 + 3 );

	let test = 5;

	if ((x > 5) || (x < 2)) {
		let y = (5 + 1) - 2;
	} else {
		let h = NULL;
	}
	
	while (7 < x) {
		--x;
	}

	for (let x = 10; x < 10; ++x) {
		let str = "hello";
		let a = "test";
	}
	// comment
	/* comment */
}

fn test(a: int, b: uint, c: char) : uint {
	print("a b c", -1, --1, x + 5);
}

About

YAL (YET ANOTHER LANGUAGE)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages