Skip to content

LangTrans/C_Trans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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")