>>40
I don't see any conflict of interest in both responding seriously and saging. In fact, from the way you are touting this everywhere when /prog/ is still trying to match the quality of our Japanese sister board, I think you would be best to head back to where you came from, namely, /g/.
Name:
Anonymous2009-06-12 12:40
>>42 >>43
don't sage if you're replying to the thread. sage if you are saying 'fuck this thread, go to /r/' or whatever. idiot.
Name:
Anonymous2009-06-12 12:41
•= only makes sense if • is a binary operator, since a •= b
stands for a = a • b
Therefore != would be inconsistent with the rest of assignment operators, since a = a ! b doesn't make sense. IHPBT,SNCBTS
>>44
I'll ask you again nicely. You only just arrived here and I think in retrospect we can all see it would be best for you to depart back where you came from. Thank you for your time.
Name:
Anonymous2009-06-12 12:44
And another thing, why don‘t **a and //a behave consistently with ++a and --a? Fucking sepples.
because **a is a pointer to a pointer to variable of type a.
And //a would signal comment line.
++ and -- are used for increment and decrement in loops.
Name:
Anonymous2009-06-12 14:09
>>47
This is a good question. When you come down to it, the C family of languages is simply an ad hoc, grab-bag, random assortment of shift-characters masquerading as serious programming, with no internal consistency, context-sensitive grammar, and sad lack of referential transparency. It's one thing for English, Japanese, or !Kung to be all fucked up, they're natural languages that evolved over thousands of years, but programming languages are intentionally created by people. There's no excuse.
>>52
You see, I was actually pointing out what a worthless idea consistency is in this context. Since it hinders expressiveness by adding bloat that no one has any use for.
>>60
I should really finish my Fjölnir interpreter. It could do most of that simple program‚ it❜s just missing a lot of "GRUNNUR" functions and the whole linking of modules thing. (Also innútbreyta.)
Are you using Snorri Agnarsson's compiler‚ or one of your own devising?
Name:
Anonymous2009-06-14 18:44
>>62
I‘m using FJOLNIR2.EXE for now. I‘f been planning to make my own compiler (an LLVM frontend), but all I have written is the parser. I was going to post it on /prog.git/ once it could dump a syntax tree. I‘m quite INEXPERT at compilers though, so working out code generation will probably be harder than deciphering the docs.
>>63
I saw it when you posted it, and I was quite impressed; I guess I didn‘t respond though. Probably because I don‘t have a 32-bit windows box to run it on, and I suspect it wouldn‘t run under wine. I can more-or-less see what it‘s doing, though.
Well, I guess I should post mine somewhere, since it can dump a syntax tree. It‘s written in dead dog¹, is disgusting in a porcine fashion, and generates a 5MB executable², but it works.
Have a look at http://filebin.ca/xvfkdb/fjolnir.tar.gz if you‘re bored and understand Haskell. I've only implemented the parts of "GRUNNUR" that I've been interested in so far, which isn't a great deal.
¹ ;_;.
² Then again, most Haskell programs does this.
>>65 I saw it when you posted it, and I was quite impressed; I guess I didn‘t respond though. Probably because I don‘t have a 32-bit windows box to run it on, and I suspect it wouldn‘t run under wine. I can more-or-less see what it‘s doing, though.
:)
Here, have a screenshot: http://i42.tinypic.com/2csj910.jpg
The data is the number of pixels to run before each color switch, and most of the actual code deals with stuffing pixels into the right bit positions on a black-and-white bitmapped display (necessary to get that kind of resolution in 16-bit DOS).
Have a look at http://filebin.ca/xvfkdb/fjolnir.tar.gz if you‘re bored and understand Haskell. I've only implemented the parts of "GRUNNUR" that I've been interested in so far, which isn't a great deal.
This is way beyond my Haskell ability, but I‘ll definitely look it over.