We're a community of 1.1M IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,080,605 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

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.

3
Contributors
4
Replies
5 Days
Discussion Span
1 Year Ago
Last Updated
5
Views
LdaXy
Light Poster
32 posts since Dec 2011
Reputation Points: 10
Solved Threads: 2
Skill Endorsements: 0

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

rubberman
Posting Maven
2,676 posts since Mar 2010
Reputation Points: 378
Solved Threads: 316
Skill Endorsements: 53

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
Skill Endorsements: 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.

rubberman
Posting Maven
2,676 posts since Mar 2010
Reputation Points: 378
Solved Threads: 316
Skill Endorsements: 53

interesting.

end function

end class PerfectTest

end interesting.

Rashakil Fol
Super Senior Demiposter
Team Colleague
2,732 posts since Jun 2005
Reputation Points: 1,153
Solved Threads: 182
Skill Endorsements: 25

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page generated in 0.0864 seconds using 2.66MB