Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 18th, 2006, 9:52 PM   #1
gryfang
Programmer
 
gryfang's Avatar
 
Join Date: May 2006
Location: Ohio
Posts: 36
Rep Power: 0 gryfang is on a distinguished road
Send a message via AIM to gryfang
Language creation/extending

I know languages are a touchy subject. Whenever anything come up dealing with the choice of languages there are those out there engrained in a specific language or set of languages and would only settle for the total populus agreeing... I am not one of those people. So I am going to state a few facts about this.

Firstly "NO" I have no intention of attempting to create the ultimate programming language nor anything in that respects. I am not even going to create a language to replace or claim improvement on a commercially popular language and act that my idead/constructions are the cream of the crop.
Secondly I am doing this for fun, not necessarily function. I know that there are PLENTY of already exceptional languages out there (in which I will obviously use to create this one). Advice is nice, advice saying "Give up" or "Use a _____ Language" is useless.
Thirdly why is a question for only me to need to understand.

Now that I'm done rambling ...

I am attempting to create a language based off Begunge-93 to which the language i create would contain Befunge-93 and have additional and sepatrate syntax from Befunge-97. Having Variables, Procedures, and the ability fo comment internally.

I am going to start with writing a tutorial for befunge 93
Then an interpreter for Befunge 93
Next I will extend the syntax (past even what I said)
Then alter the prototype interpreter for my extended language
__________________
--------------------
LOAD "*" ,8,1

God bless
- Gryfang
gryfang is offline   Reply With Quote
Old Jul 18th, 2006, 9:54 PM   #2
ReggaetonKing
Sexy Programmer
 
ReggaetonKing's Avatar
 
Join Date: Nov 2005
Location: New Jersey
Posts: 891
Rep Power: 4 ReggaetonKing is on a distinguished road
Send a message via AIM to ReggaetonKing
I'm all for ya man! Good luck!
__________________
I would love to change the world, but they won't give me the source code!
ReggaetonKing is offline   Reply With Quote
Old Jul 18th, 2006, 10:01 PM   #3
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Your post is 2/3 defensive before you even get around to the subject. If you aren't prepared for commentary from all directions, why post? "Okay, y'all can clap now. Those who don't want to clap, go away!" I hope your programming language is more efficient.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Jul 18th, 2006, 10:21 PM   #4
gryfang
Programmer
 
gryfang's Avatar
 
Join Date: May 2006
Location: Ohio
Posts: 36
Rep Power: 0 gryfang is on a distinguished road
Send a message via AIM to gryfang
Main reason I am so defensive is because of experiences. Normally whenever the topic languages came up it was an invitation for an arguement and an encouragement for anyone with real advice or help to remain silent unless they want to look like a fool, Heaven forbid you actually express an interest in making a language. I think the first time I considered it was during the "Programming languages" course in college I was looking for help on how to actually write the syntax and I regretted it even since.

I guess my caution was excessive, but when you hear about 50 posts of "Give up and use C instead", well. Of course I am happy to see that my fears were misplaced hear, I'll let y'ins know how I do.
__________________
--------------------
LOAD "*" ,8,1

God bless
- Gryfang
gryfang is offline   Reply With Quote
Old Jul 18th, 2006, 11:15 PM   #5
Indigno
Professional Programmer
 
Indigno's Avatar
 
Join Date: Dec 2005
Location: Anywhere non-productive
Posts: 267
Rep Power: 0 Indigno is an unknown quantity at this point
Send a message via AIM to Indigno Send a message via MSN to Indigno Send a message via Yahoo to Indigno
Sounds neat. And for anyone planning on smashing this guy for trying to make a new language, read:
http://en.wikipedia.org/wiki/Befunge-93
If you are a tl;dr person, then just realise that this is a joke programming language that is meant to be excessively hard in order to be a challenge, much like Whitespace and Brainfuck.
This sounds like a lot of fun, post your updates in this topic
Indigno is offline   Reply With Quote
Old Jul 19th, 2006, 6:19 AM   #6
Marvin
Newbie
 
Marvin's Avatar
 
Join Date: Jul 2006
Location: Heart of Gold
Posts: 23
Rep Power: 0 Marvin is on a distinguished road
I hope you know what you are letting yourself in for. Just trying to write a language interpeter is a hell of a task. Make sure you know the exact specifiaction of Befunge 93 and have some programs written in it to test your interpreter.

Extending Befunge 93 without breaking the backwards comaptibility will be hard. Why not just create a new language based on Befunge 93 so then you wont have to worry about makeing a standard Befunge 93 program work on it.

Have you seen how bad Befunge is to actually program in. Its nearly as bad as Ook!. Wikipedia quote "is a stack-based, reflective, esoteric fungeoid programming language." Sounds like hell if you ask me. Why not create a Pascal or BASIC interpreter, this is more documented, far more conventional and you can still make it your own dialect.

Good luck with it.
__________________
"Why should I want to make anything up? Life's bad enough as it is without trying to invent any more of it."
Marvin is offline   Reply With Quote
Old Jul 19th, 2006, 6:34 AM   #7
thondal
Programmer
 
thondal's Avatar
 
Join Date: Jan 2006
Location: Norway
Posts: 82
Rep Power: 3 thondal is on a distinguished road
Send a message via MSN to thondal
Befunge's syntax looks really crazy... what programs have been made with it? any large? I mean, people making large program using that syntax deserves a bit of respect... at least they have mine, but i guess it's all about what you are used to...

-thondal-
__________________
"die" he screamed at the polygon man. When he was done with him, only four points remained, a quad of what he once was.
thondal is offline   Reply With Quote
Old Jul 19th, 2006, 6:44 AM   #8
Marvin
Newbie
 
Marvin's Avatar
 
Join Date: Jul 2006
Location: Heart of Gold
Posts: 23
Rep Power: 0 Marvin is on a distinguished road
Begunge was created to be as hard to compile as possible. Thats why i think gryfang's plan is a bad idea.

If this is your first attempt at a interpreter or compiler then you have very little change of getting it to work, not that im saying your stupid, just that you need some knowlege in interprters first to get it work.Starting with pascal or BASIC would be a great idea to get some experience in this area.

Its not even a full programming language. Its just a toy created by someone who was horribly bored i think. Its not even that useful as a language. Its never ever gona be a adoped by many people. Its like a type of project that university professors start to make it look like they are brilliant by confusing the hell out of everyone else.
__________________
"Why should I want to make anything up? Life's bad enough as it is without trying to invent any more of it."
Marvin is offline   Reply With Quote
Old Jul 19th, 2006, 6:46 AM   #9
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
Quote:
Originally Posted by Marvin
Wikipedia quote "is a stack-based, reflective, esoteric fungeoid programming language." Sounds like hell if you ask me. Why not create a Pascal or BASIC interpreter, this is more documented, far more conventional and you can still make it your own dialect.
To quote the original poster:
Quote:
Originally Posted by gryfang
Secondly I am doing this for fun, not necessarily function.
Creating a Pascal or BASIC interpretor would be far harder, and probably not so much fun, as creating a Befunge interpretor. And since this isn't for function, who cares how hard the language itself is to program?

Besides, Pascal and BASIC are syntaxically complex, and would not, in my opinion, make for a very good, or very fun, one man project. Scheme would be a better choice, if one wants to construct an interpreter for an existing production language, as the syntax is stupidly simple to code.

That said, a Scheme interpretor probably wouldn't be as fun to create as a Befunge interpreter
Arevos is offline   Reply With Quote
Old Jul 19th, 2006, 6:51 AM   #10
Marvin
Newbie
 
Marvin's Avatar
 
Join Date: Jul 2006
Location: Heart of Gold
Posts: 23
Rep Power: 0 Marvin is on a distinguished road
Have you seen Befunge syntax and layout?

You would not think Pascal or BASIC were far harder to do if you had.

Its always fun to start a progect like this, but when you find out how hard it is, its a real show stopper

Im not saying he should not do it, im saying i think it would be more fun to write a interpeter for a more conventional language.
__________________
"Why should I want to make anything up? Life's bad enough as it is without trying to invent any more of it."
Marvin is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
If you had it to do all over again, which language? peace_of_mind Coder's Corner Lounge 24 Jan 13th, 2008 6:06 PM
The C programming Language (2nd Edition) nnxion Book Reviews 10 Jul 6th, 2007 4:29 PM
Language display in program Prm753 C++ 3 May 30th, 2006 6:45 PM
More languages? UnKnown X Coder's Corner Lounge 27 Dec 18th, 2005 4:06 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 8:35 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC