Title: Compiler Post by: smi256 on June 29, 2005, 08:26:45 AM I've taken a VB.NET class and used VS.NET. I'm now taking 'C', and I will be taking a Java class next fall; but the error checking and formatting for 'C' in VS.NET seems to be lacking (I don't know about Java yet). 'C' and Java are required for College/University, regardless of what is actually used/useful in RL.
[Side note] I tried to use something called Eclipse (http://www.eclipse.org), but for some reason I couldn't get the silly thing to compile... I’m looking for some sort of error correction as you type (like if you use a variable that hasn’t been declared, or if I typed something like ‘fprinf(f,"whatever");' and it’ll say, "You numb ass, you spelled it wrong!", well, maybe not just like that...) Maybe even formatting :) fprintf (f,"whatever"); Will run on my computer and will actually compile... (stupid eclipse...) What sort of recommendations / warnings do any of you have? Title: Compiler Post by: Hornet on June 29, 2005, 06:21:10 PM Very little C experience, so I can't help as much as I'd like, but I can furnish you with a shedload of debuggers. (http://www.thefreecountry.com/programming/debuggers.shtml)
Title: Compiler Post by: SS on June 29, 2005, 06:29:18 PM Are you trying to compile Eclipse, or compile your project in Eclipse?
If the former, don't bother - just download the pre-compiled binarys. If the latter, are you trying to compile a C project? Do you have a plugin which allows that? Eclipse is a Java IDE by default, and you'll need to get a plugin to use it with C. And if so, that plugin probably has a support forum which could be helpful. (I only use it as work for CF stuff, with the CFEclipse plugin.) Title: Compiler Post by: smi256 on June 30, 2005, 07:46:08 AM Thank you for the debuggers, I’ll try and get them working after I’ve gotten my HW done (I know how much time can be eaten by these things).
I had the Windows bin for Eclipse, I did the whole look for new plug-ins and DLed/installed the newest (then DLed ALL of the ‘C’ stuff). I didn’t go to the forum though… Title: Compiler Post by: SS on June 30, 2005, 01:16:38 PM Can you go into Window>Open Perspective>Other and have a look what you've got there.
Title: Compiler Post by: Codywlg on February 10, 2007, 08:48:49 PM [lots of spammed shit]
Title: Compiler Post by: Hornet on February 11, 2007, 12:51:47 AM I suppose this is my hint to finish the Captcha, then. Grr. :angry: Title: Compiler Post by: smi256 on November 18, 2007, 10:56:27 AM [necromancy] speaking of compilers....
I'm taking a compilers course... we're writing our own compiler... and it's kicking my butt... :ph34r: Title: Compiler Post by: SS on November 18, 2007, 01:20:59 PM What language does it compile?
Title: Compiler Post by: smi256 on November 19, 2007, 07:58:12 PM A subset of C which we're calling c0. We have function calls but we don't support much else... no preprocessor stuff like marcos or even #include, so only very simple programs will work...
I just wish I had enough time to get the damn project working the first place. Owell, it's not like my compiler is going to spit out working bin files, that's for the second compilers course. Title: Compiler Post by: SS on November 19, 2007, 08:25:02 PM That sounds cool. Except for the C stuff. C is evil! :(
Title: Compiler Post by: smi256 on November 21, 2007, 07:28:46 AM Why you got'a be hate'n on the C for? yo... ;)
Title: Compiler Post by: SS on November 22, 2007, 01:53:32 AM Because 'tis the ugliest sight I e'er have had my eyes set upon, and from it hath spawned sins as great as mankind shall ever know. :angry:
Title: Compiler Post by: smi256 on November 22, 2007, 07:29:03 AM You can't handle pointers can you?.. :(
Title: Compiler Post by: SS on November 22, 2007, 08:37:43 PM Pah! Pointers are a piece of piss.
It's the bloody { and } shite that I object to the most, followed closely by the ridiculous idea of using equals for assignment. Title: Compiler Post by: smi256 on March 28, 2008, 02:43:39 AM What an unhappy SS. What would you like to have for a language?
Title: Compiler Post by: SS on March 28, 2008, 08:34:17 PM Code that is more self-explanatory, and easier to read without putting silly "//end if" style comments in.
Like when you've got stuff like this: Code: for (x=0;x<=10;x++) It'd be easier to read if it was more like this: Code: x:loop(0..10) And similar things to that. Syntax that is intuitive and sensible, and thought out properly. Title: Compiler Post by: smi256 on March 31, 2008, 01:05:26 AM It might be fun to write an interpreter to convert your syntax to C syntax, then just feed that to a normal C compiler. The problem is that you'd still have to declare data types (maybe make everything type int, and rewrite the libraries...), and make the distinction between assignments and comparisons.
/me remembers how many sleepless nights he spent because of his compilers class :ph34r: Title: Compiler Post by: SS on March 31, 2008, 07:10:31 PM Quote and make the distinction between assignments and comparisons. It does already.Comparisons use Equals signs, because that's what the equals sign is for. Assignment use Colons, because it's the simplest valid single character. SheepAreAnimals : Sheep.Type = "Animal" Go write me a super compiler that lets me use good syntax to write C stuff. :D Title: Compiler Post by: smi256 on March 31, 2008, 11:32:35 PM I wonder if this will be one of my "projects" this "quarter" ;)
Sounds interesting, I'll try it. :sheep: Title: Compiler Post by: SS on April 02, 2008, 11:42:17 PM Have you done it yet? :D
Title: Compiler Post by: smi256 on April 04, 2008, 12:35:07 AM I'm still unpacking!! gosh!! :o
:P I'll make a converter; though I am wondering how much error checking I'm going to have to check. I'll find out the further I get into this. :-) Title: Compiler Post by: SS on May 16, 2008, 08:01:55 PM Any progress? :)
|