Compiler Design: ANTLR, Tool For Language Recognition

Why do we need to design compiler? We can get things done using machine language but then it is very tedious and error prone programming. Instead languages were developed which use syntax much like our daily spoken language,called high-level programming language. But again this needs to be converted into machine language . That’s where compiler comes.Helping us translate our English-like program to Computer-understandable one. Continue reading Compiler Design: ANTLR, Tool For Language Recognition

How to Install gcc in Windows

Sometimes it’s cool to use Open Source tools while developing something .Generally beginners in C or C++ use Borland Turbo C / C++ IDE (a.k.a. Turbo C/C++) but there are better options available. If you are just starting up with programming (or even you are pro),  GNU Compiler Collection (GCC) would the best choice as it is Free, OpenSource, not like Visual C. In most Linux flavors GCC is pre-installed but in Windows we have to install it manually and to do so just follow this simple steps!

 

Continue reading How to Install gcc in Windows

Setting Up Java Developer Environment For Beginners

Before you start Java, may have a question “Why should I waste my time learning Java ?” Here’s Why

 

Java is an Object Oriented programming language.After the C family (C family nothing but C , C++ ,C#,Objective C,many more languages based on “C” but i like that  “C family”) its great to learn for fun. The best thing about Java is its flexibility and safety. Let me explain the flexibility in terms of coding, you can write code and compile on any system and create some binary files. In case of Java the compiled binary file executes on the Java Virtual Machine (JVM) not like ordinary binaries which executes on the system itself. So if there is a JVM present in any system the Java program or application would work on it. It’s like “Compile once and Run everywhere”.

For Your Information (FYI) : GUI of the Android is written in Java, still the core is based on C. Continue reading Setting Up Java Developer Environment For Beginners