Mohit Attry


As of February 2025: brief reflections

2025-02-28

I worked on 5-6 issues in February. Most challenging one was related to Antlr Parser:

            
        /**
        * @see <a href="..."> some description </a>
        * @see <a href="...">some description </a>
        */
        

First @see Tag statement parses fine. In second one there is a parsing error because a white space is missing and description begins immediately after a closing Tag. Modifying the grammer for Javadoc to make whitespace optional did the job.

                
                | SEE_LITERAL (WS | NEWLINE | {!isNextJavadocTag()}? LEADING_ASTERISK)+
                (htmlElement (WS | NEWLINE)* description?
                | (reference | STRING)  (WS | NEWLINE)* ((WS | NEWLINE) description)?)
            

But it was not as obvious at first. the whole Antlr parsing stuff was new to me plus when messing around with grammer, things can quickly go downhill. So after lot of debugging and help from fellow contributor, I eventually had it working.
For Gsoc, I'm interested to work on improving Checkstyle's coverage on Google-style java guidelines and on new OpenJdk java Style guidelines. I'll spending next few weeks learning about these guidelines in detail and drafting my proposal.

I've also been trying to set-up Qemu emulator to play around with Riscv32i but there seems to be some problems with gnu-toolchain for riscv. btw if you are trying learn about Riscv ISA, check out this cool playlist I found after some resources-hopping.

As for my Shakespeare marathon, I finished reading Othello and watched the 1995 production of it. It's become my favorite of all Shakespeare's plays I've read so far. Current rankings:

I couldn't find Arden edition for this one. But I did get my hands on an old pages-turned-yellow The Macmilian Shakespeare edition from my college library. It was pretty good too. (At the back, last date of return was Augest 2004. I'm pretty sure I'm probably the first person to actually read it in 20 years). As an bonus, enjoy this wonderful lecture on the play.

I've also been enjoying Zadie Smith's White Teeth. Loved Samad Miah.

My marks are going all time low. 63% last semester and it's not good for the kind of scholarships I'm hoping to apply for. So I started spending 10-ish or so hours a week, doing college stuff- Maths, Networking and Databases.

Miscellaneous: Some days ago, I attended a marriage. At this point I can use all the change-of-scenery I can get. Finished Daredevil second season, set-up this blog and Déjà Vu.