All the content of this blog has been shifted to my new site shainasabarwal.com. I would be adding new posts at there from now onwards. Please read and comment there only. Thank you 🙂 Advertisements
Like the pulse of our hearts, our lives are divided in positive and negative chapters. God has his own ways to put these chapters in an interesting order. After all, a director never wants his movie the boring one. I have lived those interesting chapters too, felt each and every moment deeply and even remember… Continue reading Present is a present
As the coding period started today, we (BRL-CAD GSOC students) got a mail from Sean to remind us about writing dev logs daily and other important things. Also I got the parcel having a beautiful diary with a printed GSOC’15 logo on it, a pen and a sticker. Such cute gifts always feel heavenly and… Continue reading Coding period begins
Lexertl is a header only library used to generator lexical analyzer. It is written by Ben Hanson and its official documentation is here. We have decided to use lexertl as lexer generator tool for our scadlexer of OpenSCAD. Although lexertl has a lot of good features, like, unicode support etc, as per the documentation, but… Continue reading Lexertl – a lexer generator
For last few days, a topic is itching us and always come under great discussions with my friends and teachers that should we use tools, to generate lexers and parsers or write our own. As many large programming languages and softwares such as The Ruby programming language (YARV) The PHP programming language (Zend Parser) The… Continue reading Flex and Bison – Lets use it!
From where to start! 😛 It can take a life time, expressing how it feels when a Big dream of your life came true. 22 Oct, 2014 when our plane landed in San Francisco, US on the day of Diwali (a very important festival of Indian culture), after travelling thousands of miles from India, we… Continue reading GSOC Reunion 2014 at US (a brief)
Whenever we deal with a computer language, say making a compiler, translator, interpreter or converter. Our first requirement is some tool or engine that can read our code file and divide it into tokens such as identifiers, operators, etc. This is known as Lexical Analysis and is done by a program known as lexer. For… Continue reading Lexers and Parsers