View Poll Results: Choice of project

Voters
24. You may not vote on this poll
  • A small scripting language, possible using bytecode.

    11 45.83%
  • A C compiler.

    6 25.00%
  • An internationalization (i18n) library.

    4 16.67%
  • An implementation of the C++ STL for C.

    5 20.83%
  • An operating system.

    7 29.17%
  • A portable build system.

    9 37.50%
  • A "modern" editor (MVC pattern).

    4 16.67%
  • A game maker.

    2 8.33%
  • An RPG.

    2 8.33%
  • An IDE with integrated SVN support.

    4 16.67%
Multiple Choice Poll.

Thread: CBoard Community Project: Poll #1

  1. #136
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    I think you guys are commenting on userpingz's signature. Frankly, I find running to be basic and general. Running ability comes more naturally than swimming and cycling (but then we arguably swim in amniotic fluid before birth, and you have to be pretty evil to cycle in amniotic fluid), but I do not know which of the latter two tends to be harder to learn.

    Quote Originally Posted by Brafil
    I still don't understand people who think that C++ is far more superior than C and that you'd ALWAYS better do it the C++ way.
    Well, language comparison typically tends to come with some kind of bias. C++ is certainly hard to master, and it is certainly general. But C is also hard to master, and is also general. If you look at the strengths of each of the programming languages listed, each of them is "wonderful and flexible". Some have argued that it is good to begin teaching beginners to programming C because it is basic in that procedural programming is its natural paradigm. I am not sure about what it means for a programming language to be "sexy" though, but maybe C is sexy considering that it has contributed significantly to the syntax of many other programming languages (or would "virile" be a better word?)
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  2. #137
    Making mistakes
    Join Date
    Dec 2008
    Posts
    476
    Yeah, and we don't want endless "C# or Java"-like discussions, do we? (Or C/C++). So, let's move on to the implementation design. We're discussing most things on the new board.

  3. #138
    Registered User
    Join Date
    Mar 2009
    Posts
    48

    Wink

    Agree. I still don't understand people who think that C++ is far more superior than C and that you'd ALWAYS better do it the C++ way. Yeah, C++ _is_ nice, but I prefer C.
    [/quote]
    as a newbie, i can't deely understand & grasp C now.
    I think i can't touch your lever for a long time!
    Actually, I'd like to study C step by step.
    :-)

    Downhill, it's cool, i never think i could do it. i only watched the RedBull program from TV.

    i fully agree with your definition here.
    Swimming = wonderful and flexible
    Cycling = sexy and basic
    Running = hard and general
    i am tri fan.
    Original i just descript my programming learning flow which a little like "swim -> bike -> run"
    and now, i would pay my enthusiasm to C language study.
    Enjoy!

    Best Wish to c community projects.
    Last edited by userpingz; 06-05-2009 at 02:03 AM.
    --------------------------------------------------------
    Newbie
    C/C#/C++
    swimming/cycling/running
    There is nothing more powerful than an idea.
    Except for an idea put into action.
    --------------------------------------------------------

  4. #139
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by userpingz View Post
    i am tri fan
    Currently, I am trying to organize the world's first 8 mile (shortdeck <59mm) skateboard -> YDS 5.9 500m climb -> 4km swim! but there is some contention that it would be better the other way around, so that you can waste your upper body before you do the climb.

    We are thinking Oregon or the Basque region.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  5. #140
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Quote Originally Posted by MK27 View Post
    Currently, I am trying to organize the world's first 8 mile (shortdeck <59mm) skateboard -> YDS 5.9 500m climb -> 4km swim! but there is some contention that it would be better the other way around, so that you can waste your upper body before you do the climb.

    We are thinking Oregon or the Basque region.
    5.9 for 500 meters? I'm not sure any such route exists in Oregon. In fact, I'm not sure any 5.x route of any kind exists for 500 meters in this state. Of course, the (shorter) routes we have are probably the most beautiful you'll ever see.

    The best place I can think of where you have the option of an 8 mile skateboard, followed by 500 meters of climbing with a 5.9 crux, followed by 4 km of swimming, would be...

    Skate from Blue Box pass to Timberline pass on US highway 26. I'm not sure how long that is, but it's at least 8 miles. Up... and down...

    Hitch a ride to Timberline Lodge. Climb 2500 feet to Illumination Rock. Climb some fantastic 5.9+, crumbly volcanic rock to a vista on the Rock.

    Glissade back to TImberline. Hitch a ride on Highway 35 for 30 or so miles to reach Hood River. Swim across the Columbia river to Washington, cutting a diagonal if necessary to achieve a swim of 4 km.

    I cannot think of a place in the state where you could combine all three elements without hitching a ride. It's really not feasible to swim in any but the most major rivers, since they are too freaking cold for a swim of 4 km. You'd sink to the bottom.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  6. #141
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396

    Call for volunteers

    Summary of the below:

    1. Can you code a lexer for an interpreted C language? Do you want to know how? Contact me publicly here.

    2. Can you code a yacc/bison grammar for an interpreted C language, or write a recursive-descent parser? Do you want to know how? Contact me publicly here.

    3. Coding is not, and is never, restricted. Anyone can contribute.

    -------------------------------------------

    Okay. We seem stalled here, although I haven't checked the site. Since I'm sure I'm not the only one neglecting the site, I post this here instead of there.

    I unilaterally declare, unless strongly objected, that we begin implementing the parser of an interpreted C language.

    The lexical analyzer phase will be hand-coded. Parsing C does not require regular expressions. In order to create work, and an opportunity for someone to write code, this should not be done by lex/flex but coded manually. I am seeking volunteers who either know the basics of lexical parsing or are willing to learn.

    The parser phase will be either LR(1) generated (yacc or bison), or coded by hand as a recursive-descent parser with backtracking. The parser will generate an abstract syntax tree (AST) representation of the parse. The details of the AST representation remain to be defined. Again, I am seeking volunteers who either know, or want to know, how to do this.

    My call for volunteers is to identify people who can contribute or help others contribute. It is by no means an attempt to restrict the set of people who can contribute.
    Last edited by brewbuck; 06-09-2009 at 11:15 PM.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  7. #142
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,210
    My experience with this sort of thing is kind of limited... practically non-existent. A few years ago I got involved in some language stuff, but my efforts weren't serious at all, and I forgot most of everything I learned (if anything) about the process of development as well as a lot of the theory behind it.

    I'm pretty much useless at this point without doing some major research, but I would like to find some area in which I can contribute to this. My concern is that I might slow this kind of a project down, mainly by lack of experience and expertise, and possibly also a lack of time (although the latter should not be an issue now).

  8. #143
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Quote Originally Posted by MacGyver View Post
    My experience with this sort of thing is kind of limited... practically non-existent. A few years ago I got involved in some language stuff, but my efforts weren't serious at all, and I forgot most of everything I learned (if anything) about the process of development as well as a lot of the theory behind it.
    Mind describing what you were working on?
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  9. #144
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,210
    Quote Originally Posted by brewbuck View Post
    Mind describing what you were working on?
    I wasn't really working on anything in particular. I was fiddling with a lexer and trying to get a grasp of how to use one practically. As I said, I didn't quite take it seriously at the time, and I tried to forget most of the experience (as it wasn't a very fun one).

    It's something I will have to relearn, though, especially since, as I write this, I'm rather regretting I sound like an idiot.

  10. #145
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by brewbuck View Post
    5.9 for 500 meters? I'm not sure any such route exists in Oregon.
    Looks like it's the Basques then

    Actually I haven't climbed for years, and I only did it for one or two seasons, mostly training indoors, since the first season was winter. I had to look up the notation form for that, I seem to clearly remember it written as 5'10", not 5.10, but apparently not. The highest I went was not more than 50m.

    8 miles is a long way to skate on a short ("new school") board with small wheels, that would be slightly boring. We will definitely loose interest in this phase.

    I think I would skip straight to the 4k swim and call it a day....
    Last edited by MK27; 06-10-2009 at 06:04 AM.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  11. #146
    Making mistakes
    Join Date
    Dec 2008
    Posts
    476
    I wouldn't propose a "copy" of C - Maybe some similarities, but we shouldn't do it that way.

    We should first start building a parser subsystem, main function and interactive shell (like Python or irb) which gathers input and passes it to the parser. The parser should evaluate an expression and print it out for now.

    I could help, but I'm not good about parsers. And I definitely don't want to code token queues or stacks - I have done this at least 5 times for my project.

    BTW: I'm leaving on holiday for a week. So don't count on me. But I'll look back again on June 17.

  12. #147
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Don't count on me either, even though I posted the idea weeks ago :-).

    I've got exams now, until the 27th. But I'm looking forward to this! I've made the problem in the past of having fun studying something that's not related to my immediate exams.

  13. #148
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    So, I guess discussion has been continuing on the CCP site. I couldn't figure out where, so I assumed things were stalled.

    No matter what we want this language to look like, we still need a parser for it, and I still want to know who feels capable of implementing it. If MK27/Snafuist or somebody else can post a link to the current active discussion then let's move this conversation there.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  14. #149
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by brewbuck;869438If MK27/Snafuist or somebody else can post a link to the current [i
    active[/i] discussion then let's move this conversation there.
    try:

    CCP &bull; View forum - Discussions

    that's my bookmark, and it takes you to the top level of the discussion threads (of which I just counted: 7 threads, 61 posts, and more than 500 views).

    So if anyone thinks *nothing* has happened, guess again...we are not coding yet, which no doubt everyone finds frustrating. I was hoping someone would just hand me some specs and a loaded firearm But we are getting closer to having that, qv. esp the thread "Language Design", and also "Brainstorming Methodology".

    But, for those interested: *please* (I'm begging) try to take some time to look thru what has already been said rather than just jumping in and shootin' yer mouth off.

    _MK
    Last edited by MK27; 06-10-2009 at 04:09 PM.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. cboard community project
    By zacs7 in forum Projects and Job Recruitment
    Replies: 76
    Last Post: 05-16-2009, 08:30 PM
  2. Problem Displaying a Struct
    By rockstarpirate in forum C++ Programming
    Replies: 16
    Last Post: 05-05-2008, 09:05 AM
  3. CBoard Project?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 40
    Last Post: 06-21-2004, 03:15 PM
  4. POLL! What was your first C project?
    By webguy899 in forum C Programming
    Replies: 8
    Last Post: 05-02-2002, 11:15 PM