Thanks to visit codestin.com
Credit goes to github.com

Skip to content

zebraKat/HolyP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HolyP

HolyP is an adaption of HolyC for polytoria.

Differences Between HolyC and HolyP

Most of everything is the same but, there are different types and it removes the "print if its an expression". It of course also doesn't have inline assembly as this language isn't compiled, it is interpereted. HolyP also removes some of the preprocessor. The only preprocessor instructions it has is:

  • Include
  • Assert

Syntax

Int Main() {
	// Declaring a variable
	Int x = 10;
	Float y = 10.0;
	String z = "This is a string";
	// In HolyP, there is a builtin string class as it is simpler than using a Int*.
	// HolyP stores the length of string ( Because it is implemented in lua ) So there is no point in using Int* for strings.

	for (Int j = 0; j < 10; ++j) {
		Printf("%d", j);
	}
	
	return 1;
}

Main;

Special Thanks

About

HolyC for polytoria

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages