LangTrans / C_Trans

Customized C Syntax

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

C_Trans

Customized C Syntax

import stdio.h
1 as True
0 as False

void main():
	const grade:char = 'b';
	
	switch grade:
		match 'b':
			printf("Done")
		match 'a':
			printf("Not Done")
			
	if False:
		printf("NotDone")
	elif True:
		printf("Done")
	else:
		printf("Not Done")

About

Customized C Syntax