standard question

Discussion in 'C Programming' started by Justin Hibbits, Jul 6, 2003.

  1. Hi,

    I'm working on a C compiler, and I've got a quick question about the way types
    are defined.

    The ANSI standard shows types as being defined right-recursively, instead of
    left-recursive (as shown in yacc grammar). why was that chosen, instead of the
    left-recursive grammar?

    Thanks

    -Justin Hibbits

    --
    Registered Linux user 260206

    "One World, One Web, One Program"
    - Microsoft Promo Ad
    "Ein Volk, Ein Reich, Ein Fuhrer"
    - Adolf Hitler

    I'm not paranoid. They really *are* out to get me!
     
    Justin Hibbits, Jul 6, 2003
    #1
    1. Advertisements

  2. Justin Hibbits

    Jack Klein Guest

    This group discusses the C language as it is, not why it was defined
    the way it is. The group for that is You might also
    want to check out
    --
    Jack Klein
    Home: http://JK-Technology.Com
    FAQs for
    comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
    comp.lang.c++ http://www.parashift.com/c++-faq-lite/
    alt.comp.lang.learn.c-c++ ftp://snurse-l.org/pub/acllc-c++/faq
     
    Jack Klein, Jul 6, 2003
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.