1,105,263 Community Members

Perfect Laguage anouncement

Member Avatar
LdaXy
Light Poster
32 posts since Dec 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 2 [?]
Skill Endorsements: 0 [?]
 
0
 

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.

Member Avatar
rubberman
Senior Poster
3,989 posts since Mar 2010
Reputation Points: 513 [?]
Q&As Helped to Solve: 500 [?]
Skill Endorsements: 87 [?]
 
0
 

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

Member Avatar
LdaXy
Light Poster
32 posts since Dec 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 2 [?]
Skill Endorsements: 0 [?]
 
0
 

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.

Member Avatar
rubberman
Senior Poster
3,989 posts since Mar 2010
Reputation Points: 513 [?]
Q&As Helped to Solve: 500 [?]
Skill Endorsements: 87 [?]
 
0
 

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.

Member Avatar
Rashakil Fol
Super Senior Demiposter
2,596 posts since Jun 2005
Reputation Points: 982 [?]
Q&As Helped to Solve: 209 [?]
Skill Endorsements: 42 [?]
Team Colleague
 
1
 

interesting.

end function

end class PerfectTest

end interesting.

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: