Then you're not doing it because you want to use it, you're just doing it to waste time. Not that there's anything wrong with doing that for the sake of doing it, it's just often a very bad decision in terms of productivity.
Rollback Post to RevisionRollBack
Never attribute to malice what can adequately be explained by incompetence.
Reinventing the wheel is rarely a productive use of anyone's time. Fun? Sure, for some people. That doesn't make it productive. I prefer to spend my time doing things that haven't already been done and been done better.
Rollback Post to RevisionRollBack
Never attribute to malice what can adequately be explained by incompetence.
I had assumed that people already knew the programming language they were going to use to implement their language in. But there are many things you could pick that are easier and less time consuming to learn from (for example, by implementing a parser for an already existing language or a subset of one). Besides, the original post that sparked this also had the intent of actually using what was produced. In that context, I think designing a scripting language is a waste of time. I thought it was clear that the intent in that case was to use it, not to have fun and not to learn from, but to produce a final usable product that could plug in to something else.
Rollback Post to RevisionRollBack
Never attribute to malice what can adequately be explained by incompetence.
I had assumed that people already knew the programming language they were going to use to implement their language in. But there are many things you could pick that are easier and less time consuming to learn from (for example, by implementing a parser for an already existing language or a subset of one). Besides, the original post that sparked this also had the intent of actually using what was produced. In that context, I think designing a scripting language is a waste of time. I thought it was clear that the intent in that case was to use it, not to have fun and not to learn from, but to produce a final usable product that could plug in to something else.
Alright, so you hate fun. That's all fine and dandy, but if you don't like it you don't need to play with it.
No, I don't. I do fun things to waste time. That's what fun is for, to use up time I would otherwise spend being bored. Sometimes something fun coincides with a productive use of my time, but that's rare. I thought I had explained this and I thought it was clear that I was referring to nexekho's post. I have no problem with designing a language (especially a bizarre one) simply for the sake of doing so.
Rollback Post to RevisionRollBack
Never attribute to malice what can adequately be explained by incompetence.
">+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.>>>++++++++[<++++>-]<.>>>++++++++++[<+++++++++>-]<---.<<<<.+++.------.--------.>>+.#
"Please wait, this may take a while :tongue.gif:
~;s~j[16]><+-.,[0]#[223]^[1]}[6]N[26]i[15]j[172]}[7]N"d[15]j[172]}[8]
N-#[15]*i[0]j[172]}[9]N8#[15]5d[0]j[172]}[10]NH#[15]@)[0]~s,;~j[172]}[11]
NX~\'[1]~#[15]U([0]j[172]}[12]N[132]#[15]`}[0]4[0]N[172]4[1]<[194]4[0]}[194]
=[172]i[17]#[17]u^[0]}[12]N[0]4[0]}[194]d[17]=[172]#[17][152]^[0]}[12]N[159]
d[194]}[13]N[140]i[194]j[140]}[14]N[172]_i[17]>[17]5[255]N[183]#
[192][17]5[221]N[16]#[193][17]j[16][222][254]
I made an esolang once. The terrible thing is that I was trying to make it a port of Forth, and I was trying to make it useful. It's stack based, so programing it is fairly hard. As far as I can tell, nesting if statements and while statements doesn't work very well. However, even though "if" and "while" are keywords, they aren't forbidden. You can make a function called "while". And that function executes every time you use a while block. I don't think it's very useful.
You might want to look at the LMC. It's a pretty cool little instruction set that, like most machine languages, can do cool self-modifying stuff. It's like M-Code, only you write direct machine code into memory then have the interpreter run it. None of this namby pamby ascii character stuff. Just numbers. Lots and lots of numbers.
Then you're not doing it because you want to use it, you're just doing it to waste time. Not that there's anything wrong with doing that for the sake of doing it, it's just often a very bad decision in terms of productivity.
Alright, so you hate fun. That's all fine and dandy, but if you don't like it you don't need to play with it.
You can do this, instead:
No, I don't. I do fun things to waste time. That's what fun is for, to use up time I would otherwise spend being bored. Sometimes something fun coincides with a productive use of my time, but that's rare. I thought I had explained this and I thought it was clear that I was referring to nexekho's post. I have no problem with designing a language (especially a bizarre one) simply for the sake of doing so.
BrainF*ck interpreter WRITTEN IN 8-BIT M-CODE GET!!
This also means that m-code is Turing-complete!
I need to polish it up, probably make it read the source from a file, though.
EDIT: Nuuu, "," doesn't work :sad.gif: Hopefully it's a quick fix
EDIT: Yeah, I just had a 0 where I needed a 1 and a 48 where I needed a 44.
Check its wiki page on the Esoteric programming wiki.
You might want to look at the LMC. It's a pretty cool little instruction set that, like most machine languages, can do cool self-modifying stuff. It's like M-Code, only you write direct machine code into memory then have the interpreter run it. None of this namby pamby ascii character stuff. Just numbers. Lots and lots of numbers.
AYPSELA server admin.
Everybody has heard of lolcode.
http://www.minecraftforum.net/viewtopic.php?f=6&t=212119