![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
|
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 |
|
|
|
|
|
#2 |
|
Sexy Programmer
|
I'm all for ya man! Good luck!
__________________
I would love to change the world, but they won't give me the source code! |
|
|
|
|
|
#3 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
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 |
|
|
|
|
|
#4 |
|
Programmer
|
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 |
|
|
|
|
|
#5 |
|
Professional Programmer
|
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 ![]() |
|
|
|
|
|
#6 |
|
Newbie
Join Date: Jul 2006
Location: Heart of Gold
Posts: 23
Rep Power: 0
![]() |
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." |
|
|
|
|
|
#7 |
|
Programmer
|
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. |
|
|
|
|
|
#8 |
|
Newbie
Join Date: Jul 2006
Location: Heart of Gold
Posts: 23
Rep Power: 0
![]() |
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." |
|
|
|
|
|
#9 | ||
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 4
![]() |
Quote:
Quote:
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 ![]() |
||
|
|
|
|
|
#10 |
|
Newbie
Join Date: Jul 2006
Location: Heart of Gold
Posts: 23
Rep Power: 0
![]() |
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." |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
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 5:06 PM |
| The C programming Language (2nd Edition) | nnxion | Book Reviews | 10 | Jul 6th, 2007 3:29 PM |
| Language display in program | Prm753 | C++ | 3 | May 30th, 2006 5:45 PM |
| More languages? | UnKnown X | Coder's Corner Lounge | 27 | Dec 18th, 2005 3:06 PM |