Hello,
I have to write a descendant recursive parser in Java. what do you suggest? Any links with java code example, please?
Regards,
7 2388
instead of java , I suggest u to use Vb which would make it easier for u.
Hello,
I have to write a descendant recursive parser in Java. what do you suggest? Any links with java code example, please?
Goto the ANTLR site; ANTLR is a parser generator;
it generates LL(*) parsers (equivalent to recursive descent); on that site they've
got a couple of grammars available including a Java grammar (if I remember well).
kind regards,
Jos
instead of java , I suggest u to use Vb which would make it easier for u.
That depends very much on what language the OP knows better. Of course, there are languages, that are designed for parser writing, but VB isn't one of them. (You may be right, if someone knows both equally well, VB might be the better choice, but that's not the point.) Also, in Java the parser will be platform independent, so it can be run on nearly any system.
Greetings,
Nepomuk
That depends very much on what language the OP knows better. Of course, there are languages, that are designed for parser writing, but VB isn't one of them. (You may be right, if someone knows both equally well, VB might be the better choice, but that's not the point.) Also, in Java the parser will be platform independent, so it can be run on nearly any system.
Greetings,
Nepomuk
Yes, I need to use Java but I'd like to see some "simple" implementations before.....I wonder if someone have linked some ".java" class around internet,,,
Yes, I need to use Java but I'd like to see some "simple" implementations before.....I wonder if someone have linked some ".java" class around internet,,,
That ANTLR tool can generate a parser written in Java (one of the main target
languages). Beware though: it isn't "simple".
kind regards,
Jos
That ANTLR tool can generate a parser written in Java (one of the main target
languages). Beware though: it isn't "simple".
kind regards,
Jos
I used Coco/r but it creates a much complex parser......
I used Coco/r but it creates a much complex parser......
Don't expect much simpler from ANTLR; the Java syntax is quite complex and
needs quite a complex parser to recognize it all.
kind regards,
Jos
Sign in to post your reply or Sign up for a free account.
Similar topics
by: ptaz |
last post by:
Hi I'm trying to run a web page but I get the following error. Ca
anyone please tell me a solution to this.
Thanks
Ptaz
HTTP Status 500 -
type Exception report
|
by: Ajay |
last post by:
hi!
can you call a Python application from a Java program? does this require
any additional package to be installed?
thanks
cheers
|
by: Juan Manuel Fernández Luna |
last post by:
Can anybody help me? I'm desperate!!!
I'm writing a program in Java to deal with xml files and when the file
volume.xml (attached) is being parsed, the following exception occurs
and I don't...
|
by: Dr. Laurence Leff |
last post by:
I am writing a Java program to read in XML file, modify some elements
slightly, and then write it out. That XML file is prepared
in Docbook.
It works fine, except that it is disturbing the...
|
by: Jens Mueller |
last post by:
Hi there,
this is a Java-XML Question, so I am not sure whether this is the
right place, haven't found anything better ....
I try to convert a Java object to XML via SAX and let the FOP...
|
by: David Van D |
last post by:
Hi there,
A few weeks until I begin my journey towards a degree in Computer
Science at Canterbury University in New Zealand,
Anyway the course tutors are going to be teaching us JAVA wth bluej...
|
by: Mark Fink |
last post by:
I wrote a Jython class that inherits from a Java class and (thats the
plan) overrides one method. Everything should stay the same.
If I run this nothing happens whereas if I run the Java class it...
|
by: Nageshwararao |
last post by:
i getting path of XML file and parsing it.
Following is error i am getting.
can any one help me.
Exception in thread "main" java.lang.InternalError...
|
by: wolverine |
last post by:
Hi,
I recently read that every java .class file, is written in a
specific binary format.
http://java.sun.com/docs/books/jvms/second_edition/html/ClassFile.doc.html
I just want to know whether...
|
by: blazedaces |
last post by:
Ok, so you know my problem, java is running out of memory reading with SAX, the event-based xml parser intended more-so than DOM for extremely large files. I'll try to explain what I've been doing...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |