code language

How to write grammar for your own language with ANTLR .? (Part -I) : Setting up the Environment( Intellij with ANTLR)

Reading Time: 2 minutes Ever wondered about this question that actually how can we write our own language? How the grammer of clojure or scala can be written.? Here is the answer , we can write grammar for our own language using ANTLR. This is a powerful tool for generating Lexer, Parser and  Visitors for the grammar written by our self. So in this blog we will discuss how to configure Continue Reading

ScalaKnol: Why returning a value in finally is a bad idea

Reading Time: 1 minute For those of us who are coming from an imperative background, we are used to using try catch rather losely. Ok, I am not trying to generalize here but a majority of us do so. When we come to the Scala world, we realise that like other expressions in scala, try-catch-finally would result in a value. The general practice recommended is that finally should be Continue Reading

Intercepting Nutch Crawl Flow with a Scala Plugin

Reading Time: 4 minutes Apache Nutch, is an open source web search project. One of the interesting things that it can be used for is a crawler. The interesting thing about Nutch is that it provides several extension points through which we can plugin our custom functionality. Some of the existing extension points can be found here. It supports a plugin system which is used in Eclipse as well. Continue Reading

Knoldus Pune Careers - Hiring Freshers

Get a head start on your career at Knoldus. Join us!