Pascal Warrior's Journey

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Friday, 14 January 2011

Big mistake: wrong process model

Posted on 04:15 by Unknown

This is a lesson learn for application developer. Remember my last post about compiler with LLVM backend? It doesn't end happily. I didn't manage to connect all the components, even some of them are either incomplete or not implemented at all. I pass the trial session badly. Even though I managed to graduate, but the ending is not good.

So, after the trial session, here comes the revision session. I crazily decided to rewrite the compiler FROM SCRATCH. But this time, I use feature based iterative incremental process model (previously component based iterative incremental). First, only single expression is allowed. Parser OK, AST OK, semantic checking OK. Next, assignment statement. Parser OK, AST OK, semantic checking OK. Next, compound assignment statement, return statement, method, class and so on. Ended with code generator. Guess what? Something that I didn't manage to finish in 3 months is finished in 1 week!

If only I realize this faster... maybe I'll get A (well, I finally get A- which is not too bad).

Read More
Posted in | No comments
Newer Posts Older Posts Home
Subscribe to: Comments (Atom)

Popular Posts

  • Android Programming with Lazarus through Custom Drawn Interface
    OK, so you've read that it's possible to write Android applications with Lazarus and Free Pascal. You go straight to the  wiki , fol...
  • Encryption / Decryption and Asynchronous Socket Programming
    Back again, it's been a long time since my last post due to lack of free time and laziness :p Recently, I've got some posts in Lazar...
  • Brook Framework, a new web application framework for Free Pascal
    Recently, a new post in Lazarus forum surprised me. Somebody, OK, Silvio, announced his new web application framework for Free Pascal with o...
  • LLVM IR Builder in Object Pascal
    I'm about to graduate from my university (January 2011 if there's no more problems), and as a final assigment (though it's optio...
  • Using Google Maps service in a Pascal based Web Application
    My final team assignment of Information Retrieval (IR) class allows us to create any kind of IR system, and we decided to create a food ingr...
  • Big mistake: wrong process model
    This is a lesson learn for application developer. Remember my last post about compiler with LLVM backend? It doesn't end happily. I didn...
  • Top Down Agile Program Development
    This time I would like to post something out of coding world, but rather something about software engineering. Traditional agile program dev...

Blog Archive

  • ►  2013 (2)
    • ►  October (1)
    • ►  January (1)
  • ►  2012 (2)
    • ►  December (1)
    • ►  June (1)
  • ▼  2011 (1)
    • ▼  January (1)
      • Big mistake: wrong process model
  • ►  2010 (2)
    • ►  December (2)
Powered by Blogger.

About Me

Unknown
View my complete profile