File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Scala and the fly likes which language is best for file parsing? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Languages » Scala
Bookmark "which language is best for file parsing?" Watch "which language is best for file parsing?" New topic

which language is best for file parsing?

kumard ashish

Joined: Feb 24, 2011
Posts: 2
hi guyss,
i want to create a lexical parser but i have a little confusion about the language means which one is best for creating such type of application. i have selected two language Scala and Perl but till now i am confuse that which is best. can any one give me specific reason to choose correct language.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14910

Welcome to JavaRanch.

There is ofcourse not one "correct" or "best" language. You can do parsing in both those languages.

Scala has stuff for parsing in its standard library. I haven't used it though, so I can't tell you much on how it works or if it's easy to use. I don't know much about Perl but as far as I know it's a good language for string processing.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3479

Indeed, Perl stands for: Practical Extraction and Report Language.
I agree. Here's the link:
subject: which language is best for file parsing?
It's not a secret anymore!