Evan Martin (evan) wrote in evan_tech,
Evan Martin
evan
evan_tech

parse as you type

In compilers class we were told that a significant portion of the compile time (the majority?) is spent in the parsing and lexing stages. Beyond precompiled headers, I've also seen work that keeps compiled versions of files around in memory.

We have gobs of RAM now, and these fast processors that are usually idle while you type and then suddenly strained when you compile. Why doesn't the IDE continually build parse trees as you type? They have to do some preliminary parsing already to do syntax highlighting. But with more of the compiler integrated you not only get more contextual help (see, for example, Visual Studio, which shows you in a tooltip the type of the argument expected for the function you're calling), but also an incredible boost in compile time.

(This seems obvious enough that someone would be doing research in it...)
Subscribe

  • memcache job offers

    I get occasional recruiter spam that specifically calls out "my work on memcached". This is pretty funny because all I did was make some trivial…

  • closest computer

    I have a computer in the closet that serves music. I haven't thought much about the computer as I've used it -- I just know it's always available on…

  • application stack

    "Put yourself in 1995. I'm going to tell the you of 1995 that in 2010, there will be a software platform with the following properties:" Luis Villa…

  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 10 comments

  • memcache job offers

    I get occasional recruiter spam that specifically calls out "my work on memcached". This is pretty funny because all I did was make some trivial…

  • closest computer

    I have a computer in the closet that serves music. I haven't thought much about the computer as I've used it -- I just know it's always available on…

  • application stack

    "Put yourself in 1995. I'm going to tell the you of 1995 that in 2010, there will be a software platform with the following properties:" Luis Villa…