Can one get the code in which C is written?

zeba

zeba

@zeba-vM5NB6 Oct 26, 2024
Where can 1 get the code of C compiler?

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • priyadarshi

    priyadarshi

    @priyadarshi-H1AWYt Jun 11, 2008

    (Not just C) where does the code of any language exist? Someone creates some lang.

    First doubt- how.(its a question not a doubt)

    - You can create you own language but you need to create one compiler/interpreter to understand that.

    In which lang. Any?

    - ofcourse any, but for that comipler needs to understand what the code means, if any one creates a language say english then compiler should understand english to convert it to Machine Code.

    I think, after the lang is created, then the compiler/interpreter must be written. But how are the 2 linked?

    - as said above compiler interpreter is needed to convert the High level language to Machine code.

    How do the electrons behave in a way that they make the pixels darkened on screen (appearance of code), work according to our expectations????

    - Every engineer knows that you must not be a exclusion. Whats the doubt

    Compiler understands the lang. BUT who understands the compiler?

    - compiler changes the HLL to LLL (Machine code). After that the machine understands that once invoked by loader.

    HAVEN'T STUDIED COMPILERS YET.

    - is it a Question? :-x if not please format it correctly
  • elric

    elric

    @elric-7vzoqS Jun 15, 2008

    You can access the CVS repositories of GCC at gnu.org (exact url being <a href="https://savannah.gnu.org/cvs/?group=gcc" target="_blank" rel="nofollow noopener noreferrer">GNU C Compiler - CVS Repositories [Savannah]</a> )
    If you dont know how to use CVS (or make, for that matter) , you should probably learn that before trying to play around with a codebase as large as gcc 😛