Results 1 to 2 of 2
Thread: String Code Indentation
- 12-09-2007, 12:20 AM #1
Member
- Join Date
- Dec 2007
- Posts
- 2
- Rep Power
- 0
- 12-22-2007, 02:45 AM #2
I come from a C/C++ background, and what you're talking about is referred to as parsing or writing a parser, this was done with lex and yacc for C/C++. It's a bit of an advanced topic if you're willing to write your own. Otherwise, there's a good amount of them already written in Java. Find one that matches what you're looking for, or if you write your own - your grammar specification would be rules according to line indentation, for example.
Similar Threads
-
Using java.util.Scanner to search for a String in a String
By Java Tip in forum Java TipReplies: 0Last Post: 11-20-2007, 04:59 PM -
Help with Switch string code
By toby in forum New To JavaReplies: 1Last Post: 08-07-2007, 06:00 AM -
how to set indentation to a text
By elizabeth in forum New To JavaReplies: 1Last Post: 08-06-2007, 06:42 PM -
I can't seem to pass the value of a string variable into a string array
By mathias in forum Java AppletsReplies: 1Last Post: 08-03-2007, 10:52 AM -
Generating Code Automatically Using Custom code Template In Eclipse
By JavaForums in forum EclipseReplies: 1Last Post: 04-26-2007, 03:52 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks