Making Your Own Programming Language

Reply

Join Date: Aug 2004
Posts: 350
Reputation: Ghost is an unknown quantity at this point 
Solved Threads: 2
Ghost's Avatar
Ghost Ghost is offline Offline
Posting Whiz

Making Your Own Programming Language

 
0
  #1
Mar 7th, 2005
Hi:

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

Thanx
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,036
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 128
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Re: Making Your Own Programming Language

 
0
  #2
Mar 7th, 2005
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.
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,036
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 128
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Re: Making Your Own Programming Language

 
0
  #3
Mar 7th, 2005
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)
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,144
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 212
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Making Your Own Programming Language

 
0
  #4
Mar 7th, 2005
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.
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,036
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 128
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Re: Making Your Own Programming Language

 
0
  #5
Mar 7th, 2005
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
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,144
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 212
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Making Your Own Programming Language

 
0
  #6
Mar 8th, 2005
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
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 19
Reputation: smagee12 is an unknown quantity at this point 
Solved Threads: 0
smagee12 smagee12 is offline Offline
Newbie Poster

Re: Making Your Own Programming Language

 
0
  #7
Mar 8th, 2005
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
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 2,108
Reputation: server_crash is on a distinguished road 
Solved Threads: 18
server_crash server_crash is offline Offline
Postaholic

Re: Making Your Own Programming Language

 
0
  #8
Mar 8th, 2005
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.
Reply With Quote Quick reply to this message  
Join Date: Aug 2004
Posts: 350
Reputation: Ghost is an unknown quantity at this point 
Solved Threads: 2
Ghost's Avatar
Ghost Ghost is offline Offline
Posting Whiz

Re: Making Your Own Programming Language

 
0
  #9
Mar 9th, 2005
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.
Reply With Quote Quick reply to this message  
Join Date: Aug 2004
Posts: 780
Reputation: OurNation is an unknown quantity at this point 
Solved Threads: 9
OurNation's Avatar
OurNation OurNation is offline Offline
Master Poster

Re: Making Your Own Programming Language

 
0
  #10
Mar 9th, 2005
Making your own programing languge might be intresting but what did you say to use jython?
PETA People for the Eating of Tasty Animals.


FireFox
Hijack This
Ad-Aware
Hijack this tutorial
Microsoft AntiSpyware
CompUchat
Reply With Quote Quick reply to this message  
Reply

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC