hi all. i haven't been posting cause i am working on a new programming language called perfect. it's derived from the aspects of many languages: python, C, VB, java etc.

here is a sample of what the code is going to look like:

'''Compile with Perfect Compiler

''*' first exapmle of perfect code by Alexander frankland.
'*''

new class PerfectTest
{
	from main implement all;
	from io implement all;
	
	new function Main() integer
	{
		def hello char[11, 1] = "hello world";
		io->output(hello);
	}
	
	end function
}
end class PerfectTest

right now, i have plans for it to compile to C which will then be compiled to assembler.

i hope to have a beta out by the end of august.

any thoughts? i hope that at least a small group of people would use this.

if you don't understand the code, i would be happy to explain it for you.

Recommended Answers

interesting.

end function

end class PerfectTest

end interesting.

Jump to Post

All 4 Replies

Well, a BNF (Backus-Naur Form) listing of the syntax would be helpful.

Well, a BNF (Backus-Naur Form) listing of the syntax would be helpful.

i'm currently working on it. i recently started this (like 2-3 weeks ago) so i haven't fully completed it yet. the sample was just to show how coding in perfect would look like. I'll post up a BNF list when i have it finished.

i'm currently working on it. i recently started this (like 2-3 weeks ago) so i haven't fully completed it yet. the sample was just to show how coding in perfect would look like. I'll post up a BNF list when i have it finished.

Thanks. I'd be interested in seeing it.

interesting.

end function

end class PerfectTest

end interesting.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.