954,523 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Perfect Laguage anouncement

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.

LdaXy
Light Poster
32 posts since Dec 2011
Reputation Points: 10
Solved Threads: 2
 

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

rubberman
Posting Virtuoso
1,564 posts since Mar 2010
Reputation Points: 277
Solved Threads: 179
 
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.

LdaXy
Light Poster
32 posts since Dec 2011
Reputation Points: 10
Solved Threads: 2
 
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.

rubberman
Posting Virtuoso
1,564 posts since Mar 2010
Reputation Points: 277
Solved Threads: 179
 

interesting.

end function
end class PerfectTest

end interesting.

Rashakil Fol
Super Senior Demiposter
Team Colleague
2,658 posts since Jun 2005
Reputation Points: 1,135
Solved Threads: 177
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: