944,200 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 10098
  • Java RSS
You are currently viewing page 1 of this multi-page discussion thread
Mar 7th, 2005
0

Making Your Own Programming Language

Expand Post »
Hi:

I was wondering if anybody knew anything about creating your own programming language.

Thanx
Similar Threads
Reputation Points: 12
Solved Threads: 2
Posting Whiz
Ghost is offline Offline
352 posts
since Aug 2004
Mar 7th, 2005
0

Re: Making Your Own Programming Language

Whoa! Pretty daunting task if you ask me. I have a hard enough time trying to learn a language nevermind think of all of the aspects to a language. Take a look at scheme, for example I'll leave this one up to the experts. You're being forewarned though - this thread might end up being moved to the Computer Science or the Software Development forum.
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 163
The Queen of DaniWeb
cscgal is offline Offline
13,646 posts
since Feb 2002
Mar 7th, 2005
0

Re: Making Your Own Programming Language

Ooh, sorry to double post, I just noticed you posted this in the Java forum. I think the closest thing to creating a new language would be something along the likes of AspectJ or Pizza.

AspectJ (http://eclipse.org/aspectj/)
a seamless aspect-oriented extension to the Java programming language

Basically, we all know that Java is, by nature, an object-oriented language. AspectJ allows it to be aspect-oriented, as well

Pizza (http://pizzacompiler.sourceforge.net/)
The Pizza language is an extension to Java with three new features:
- Generics (aka Parametric polymorphism)
- Function pointers (aka First-class functions)
- Class cases and pattern matching (aka Algebraic types)
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 163
The Queen of DaniWeb
cscgal is offline Offline
13,646 posts
since Feb 2002
Mar 7th, 2005
0

Re: Making Your Own Programming Language

AspectJ isn't so much a new language as an addon API to an existing language.

Designing an entirely new language is indeed a very tough task. You should first try to make interpreters and compilers for some existing languages, then start writing and revising a design document for your own language.
When you have that, create a formal language specification.
Only then should you start building first interpreters and then maybe compilers for it.

Plan on taking a year or more before you write the first line of code on that interpreter, probably 18 months at least before you execute the first line of code written in your new language.

And that's if you have a lot of experience in software design and computer science theory.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Mar 7th, 2005
0

Re: Making Your Own Programming Language

Quote originally posted by jwenting ...
AspectJ isn't so much a new language as an addon API to an existing language.
AspectJ and Pizza are both extensions to the Java language I thought that delving into such extensions would be a good introduction to programming languages. Plus, we're in the Java forum so it seemed appropriate hehe
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 163
The Queen of DaniWeb
cscgal is offline Offline
13,646 posts
since Feb 2002
Mar 8th, 2005
0

Re: Making Your Own Programming Language

Sure it would be a good start, but as he wants to make a new language it's not what he's looking for

Maybe he should look at Jython instead when looking at a language implementation in Java, which is a port of the Python compiler to Java (and they're in need of people as the project is really slow at the moment
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Mar 8th, 2005
0

Re: Making Your Own Programming Language

Quote originally posted by jwenting ...
Sure it would be a good start, but as he wants to make a new language it's not what he's looking for

Maybe he should look at Jython instead when looking at a language implementation in Java, which is a port of the Python compiler to Java (and they're in need of people as the project is really slow at the moment

When you say "new language" what do you mean?

What level of a language? A high level language are not as complicated as they are tedious to design, with an effecient workforce. But trying to desing another C++ or lower would be extremely copmlicated if ya ask me. Once you do some poctdoctoral studies for computer engineering or computer science, then you may have an idea on how to start. maybe
Reputation Points: 13
Solved Threads: 0
Newbie Poster
smagee12 is offline Offline
19 posts
since Oct 2004
Mar 8th, 2005
0

Re: Making Your Own Programming Language

Why don't you play around in java a little with this idea, I mean, you could program stuff that will act on certain statements entered by the user, and soforth.
Reputation Points: 113
Solved Threads: 19
Postaholic
server_crash is offline Offline
2,108 posts
since Jun 2004
Mar 9th, 2005
0

Re: Making Your Own Programming Language

thanx - i tried that. its pretty cool.

If u want to see it, go to the thread "Java.io HELP!!!" It has my source code.
Reputation Points: 12
Solved Threads: 2
Posting Whiz
Ghost is offline Offline
352 posts
since Aug 2004
Mar 9th, 2005
0

Re: Making Your Own Programming Language

Making your own programing languge might be intresting but what did you say to use jython?
Reputation Points: 16
Solved Threads: 9
Master Poster
OurNation is offline Offline
780 posts
since Aug 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: loop within a loop
Next Thread in Java Forum Timeline: Create folder in Http





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC