Javacc and jjtree - looking for working example

Hi all,
I am doing a project that requires me to have an input of some java code. It is then run through a parser to tokenize it and it is then outputted into a grammar/syntax tree. My mentor has told me that I do not need to write this part (I will be doing work on tree once it is generated), and by the looks of it the parser can be 2-5k lines of code?
Anyway, I have been looking at the examples that come with javacc and jjtree, and have those working etc. My problem is that i need to combine the two examples and i cant see anyway of doing that as the examples are vastly different. (one is a java parser the other is a 'stupid program language' tree generator, so they are using different grammars?)
So my question is: is it possible to get a already made program that takes in java code and spits out a tree on the other end? If not what steps do i need to take to make this program :S
Thanks!
Scott.

Here is a visual example
http://www.bray.com/rollover.jpg
The big picture would represent area "A"
The smaller white outline box area "B"
And area "C" would be down below
Notice the thin white lines going from top to bottom and side
to side represtent the crosshairs and will move around within the
big picture as the mouse moves. Area "B" would remain centered on
these crosshairs and would show a fullsize image of the area
immediately around where the crosshairs are located. On a mouse
click would change area "C" to pull up some detail text, photos,
etc.
The large picture will actually be a map as opposed to a pure
photo as shown here, it was just easiest to grab a photo real quick
for this visual example. I borrowed this photo from
http://www.pezcyclingnews.com/
I hope they don't mind to much.

Similar Messages

  • Looking for working example using javafx.builders.HttpRequestBuilder

    Hi,
    Is there any working example using javafx.builders.HttpRequestBuilder and javafx.io.http.HttpRequest to communicate with application server?
    Thanks in advance.
    LD

    Hi,
    Is there any working example using javafx.builders.HttpRequestBuilder and javafx.io.http.HttpRequest to communicate with application server?
    Thanks in advance.
    LD

  • I was given an iMac without iPhoto. Have updated to OS to 10.6.8. How do I get a version of iPhoto that will the updates will work with? Downloaded 9.2.1 and it looked for 9.1; downloaded 9.1 and it looked for 9.0??

    I was given an iMac without iPhoto. Have updated to OS to 10.6.8. How do I get a version of iPhoto that will the updates will work with? Downloaded 9.2.1 and it looked for 9.1; downloaded 9.1 and it looked for 9.0??

    You can Purchase iPhoto in the Apps Store...

  • I'm looking for an example of Session Time Warning dialog

    I'm looking for an example of a Session Timeout warning dialog to warn a user that their session is about to expire.  I'd really like it to have the option to extend the session or logout.
    I have a user submitted Webapp with several fields and an image upload.  The image upload is for a copy of a professional state license.  When the user gets to this field in the form, they realize that they have to scan their form first.  They leave the Webapp Input form open, get their image uploaded finally, submit the form, then they get a message that they are no longer logged in. Any help would be greatly appreciated :)

    If your doing work on the front end like this and you feel the form is to long or things like file upload takes too long then build a multi-step form process and have the image as one of the latter steps so you can start saving the data.

  • Looking for an example from app gallery that uses WAAD for identity

    I'm looking for an example from the app gallery (http://azure.microsoft.com/en-us/gallery/active-directory/) that uses WAAD for identity. I need one the show our business what the process would look like for an organization signing up for a SaaS offering
    via the App Gallery. I know all the Microsoft applications use WAAD but I was hoping to find a third-party example.  What I mean is an app where all tenant and user identity is done using WAAD as opposed to federated identity.

    I doubt that what you are looking for exists yet.
    Cheers,
    Markus
    Markus Vilcinskas, Knowledge Engineer, Microsoft Corporation

  • Looking for a examples of a podcast from a law enforcement agency

    Hi, I am looking for podcast examples from a law enforcement agency. Any suggestions?

    I doubt you'll find any through iTunes U which is pretty much all educational institutions, though someone might have posted something from a sociology and criminology program. You might try browsing the iTunes Store podcasts section:
    Browse -> Podcasts -> Government & Organizations
    I didn't go through the entire list, but I did see a podcast from the Center on Law and Security and one from Cop Talk Radio, so there might be podcasts of interest.
    Regards.

  • I am looking for an example ...

    I am looking for an example that would show me a jsp page that retrieves/displays say 20 records at a time from a query which produced say 1000 records as a result. I mean being able to go to next page as well as previous page and display 20 records at a time.
    Thanks for any help.

    It's a little bit long, be patient...
    <%@ page language="Java" import = "java.sql.*" %>
    <jsp:useBean id="myBean" scope ="session" class="bean.DataConnectionBean" />
    <html>
    <body bgcolor="#CCFFFF">
    <%
    String sql; //SQL string
    int rowPerPage=10; //Record size of one page
    int rowTotal; //Total records
    int pageTotal; //Total pages
    int pageIndex; //Pages waiting for display, from 1
    pageIndex = Integer.parseInt( request.getParameter("page") );
    rowTotal=Integer.parseInt( request.getParameter("rowTotal") );
    String sql_2=request.getParameter("sql_2");
    String sql_1= "select " +
    "vin, " +
    "ga_no, " +
    "ga_build_date, " +
    "deliver_date, " +
    "model, " +
    "year_code, " +
    "engine_no, " +
    "initial_mileage " +
    "from vehiclemaster " +
    "where ";
    sql=sql_1+sql_2;
    myBean.connect();
    ResultSet rs=myBean.executeQuery(sql);
    pageTotal = (rowTotal+rowPerPage-1) / rowPerPage; // Get total pages
    if(pageIndex>pageTotal) pageIndex = pageTotal;
    %>
    <table border="0" cellpadding="2" cellspacing="0">
    <tr>
    <td align="left">
    <div align="left">Total <%=rowTotal%> Records</div>
    </td>
    </tr>
    </table>
    <table border="0" width="844">
    <tr bgcolor="#669966">
    <th>VIN</th>
    <th>GA#</th>
    <th>build date</th>
    <th>deliver date</th>
    <th>model</th>
    <th>model year code</th>
    <th>engine#</th>
    <th>initial mileage</th>
    </tr>
    <%
    int absolute=(pageIndex-1) * rowPerPage;
    for(int k=0; k<absolute; k++) rs.next();
    int i = 0;
    String LineColor;
    while( rs.next() && i<rowPerPage && (absolute+i)<rowTotal ){
    String col1=( ( ( col1=rs.getString(1) ) == null || rs.wasNull() ) ? "" : col1 );
    String col2=( ( ( col2=rs.getString(2) ) == null || rs.wasNull() ) ? "" : col2 );
    String col3=( ( ( col3=rs.getString(3) ) == null || rs.wasNull() ) ? "" : col3 );
    String col4=( ( ( col4=rs.getString(4) ) == null || rs.wasNull() ) ? "" : col4 );
    String col5=( ( ( col5=rs.getString(5) ) == null || rs.wasNull() ) ? "" : col5 );
    String col6=( ( ( col6=rs.getString(6) ) == null || rs.wasNull() ) ? "" : col6 );
    String col7=( ( ( col7=rs.getString(7) ) == null || rs.wasNull() ) ? "" : col7 );
    String col8=( ( ( col8=rs.getString(8) ) == null || rs.wasNull() ) ? "" : col8 );
    if (i % 2 == 0) LineColor="#DBECFD";
    else LineColor="#C6E1FD";
    %>
    <TR bgcolor="<%= LineColor %>">
    <TD><%=col1%></TD>
    <TD><%=col2%></TD>
    <TD><%=col3%></TD>
    <TD><%=col4%></TD>
    <TD><%=col5%></TD>
    <TD><%=col6%></TD>
    <TD><%=col7%></TD>
    <TD><%=col8%></TD>
    </TR>
    <%i++;
    }%>
    </table>
    <div align="center">
    <table border="0" align="left">
    <tr>
    <td align="left">
    <div align="left">Page <%=pageIndex%> / <%=pageTotal%> 
    <%if(pageIndex<pageTotal){%>
    <a href="QueryVehicleResult.jsp?sql_2=<%=sql_2%>&rowTotal=<%=rowTotal%>&page=<%=pageIndex+1%>"><img src="images/next.gif" border="0">
    </a>
    <%}%>
    <%if(pageIndex>1){%>
    <a href="QueryVehicleResult.jsp?sql_2=<%=sql_2%>&rowTotal=<%=rowTotal%>&page=<%=pageIndex-1%>"><img src="images/prev.gif" border="0">
    </a>
    <%}%>
    </div>
    </td>
    </tr>
    </table>
    </div>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    </body>
    </html>
    <%
    rs.close();
    myBean.close();
    %>

  • I am looking for labview examples related to ECG

    Hi, everyone!
    I need your help.
    I am looking for labviews examples, which are related
    to ECG for my thesis .
    I wait for your answer.
    thanks in advance

    Burcu;
    I am not sure what type of examples are you looking, so this is a start:
    Searching at the LabVIEW Discussion forum I found:
    Example
    calculate heart rate from ECG
    how to design a suitable vi to acquire ECG waveform?
    Doing a search with Google:
    LabView Exercise to model and analysis ECG/EKG data
    EE 206 MINI-PROJECT I CARDIAC MONITOR VI
    Searching an NI.com:
    PC-Based ECG Monitoring and Analysis Using BioBench (LabVIEW VIs at bottom - not sure if link is dead)
    Regards;
    Enrique Vargas
    www.visecurity.com
    www.vartortech.com

  • I have an Apple Retina Pro Notebook and am looking for the most highly recommended compatible wireless printer.  Do you have any recommendations?

    I have an Apple Retina Pro Notebook and am looking for the best compatible wireless printer to use with it.  Do you have any recommendations?

    "WiFi Wireless Printer" seems to give Users the feeling that they somehow print directly from their computer to the Printer. That is NOT how it works.
    To make a WiFi Wireless Printer work, you need to make it a participant on your network, by providing the Network_name and the Password. It then becomes a peer of your MacBook on your home Network, and you can create a Print Queue for it in Add-a-Printer.
    There is no particular advantage to this over, say, an Ethernet Printer -- except that you don't have a Physical cable to string.

  • Looking for an example VI that shows how to trigger an event in a VI from a subvi based on a value.

    I am looking for an example VI that uses a typical event structure for the GUI, but also has an event that will trigger based on a boolean value changing in a subVI to that VI.
    Thank you.

    You need to Create User Event.  Any Event structure which is registered with the event, whether it be in a subVI or otherwise can trigger the user event by using Generate User Event.
    Right-click an event structure and select Show Dynamic Event Terminal.  This is what you use to register your user (dynamic) events.
    Search for "events" in NI examples within LabVIEW.

  • LabVIEW CLAD Certified looking for work in Southern California

    Hey guys,
    I'm a recent graduate from UCLA with a BS in Material Science and Engineering. I have been using LabVIEW for about a year now and got CLAD certified in June. I really enjoy working with the software and I have experience with some hardware (myDAQ). Looking for a position near Los Angeles but I'm pretty flexible. 

    Hello, I saw that you were looking for work in southern california. Here is a job posting for my company and I would be interested in meeting with you this week if you are still looking.
    Thank you, Daniel Rust
    Executive Establishment Officer
    626-616-7717
    [email protected]
    Anaheim CA 92801
    [email protected]
    Job Title: Project Manager
    Job Type: Permanent
    Job Location: Anaheim CA
    Main hardware expertise required: Compact DAQ/RIO (cDAQ,cRIO), Enclosures, Cabling, Other (please comment)  
    Main software expertise required: LabVIEW, LabVIEW Real-time (RT)
    Job Description: LabVIEW programmer needed to program and update a series of technologies while using NI CompactRIO and Single Board RIO applications. Some basic networking and basic electronics experience required.
    40 hrs/wk at our Orange County facility.
    What qualifications and T&M certifications do you require? Technical, LabVIEW Certified Developer Prefered
    Salary Offered: $60K-80K based on experience and qualifications  
    The attachment is a picture of the prototype ETU unit. The DBA of the company is "GreenLink Systems," our website is www.greenlinksystem.com

  • This is the thread for folks looking for work.

    And unfortunately, as of next Friday, I will be in urgent need of work.  I found out this week that my contract has been cut.  :-(  I have experience in help desk, technical training, IT management, systems administration, project management, and PBX administration.

    This is the thread for folks to post in when they're looking for work.  Let's use our professional networking contacts to help each other find jobs.  Feel free to list open positions separately as well.
    This topic first appeared in the Spiceworks Community

  • I desperately to uninstall adobe reader from my Mac book air. I sent adobe reader to trash and afterwards look for internet plugs in in library but the folder is empty. Can anybody help me?

    I desperately need to uninstall adobe reader from my Mac book air. I sent adobe reader to trash and afterwards look for internet plugs in  library but this folder is empty in my library. Can anybody help me?

    I looked for plugs in in my library but the folder internet plugs in is empty

  • HT5731 How can I download my TV episodes to my Macbook Pro. I bought them from my iPad2, and I looked for them with the same AppleID on iTunes Store and they wont download to my iTunes.

    How can I download my TV episodes to my Macbook Pro. I bought them from my iPad2, and I looked for them with the same AppleID on iTunes Store and they wont download to my iTunes.

    What country are you in ? Depending upon what country that you are in then you might be able to redownload them on your Mac's iTunes via the Purchased link under Quicklinks on the iTunes store homepage
    If you're not in a country where TV programmes can be redownloaded then connect the iPad to your Mac's iTunes and use the File > Devices > Transfer Purchases to copy them over from your iPad

  • I want to set up 5 different ipods to sync from one library, but want to be able to control what is synced to each ipod and have it remember that for future synching and just look for new songs and not sync all the other music in the library

    I want to set up 5 different ipods to sync from one library, but want to be able to control what is synced to each ipod and have it remember that for future synching and just look for new songs and not sync all the other music in the library

    Click here for options.
    (58961)

Maybe you are looking for

  • Selecting using a field that stores a column_name to be used in the where

    I have a table REPORTING_CRITERIA with fields and field values: gl_criteria1 = 'cc.segment5' from_value1= '1123' to_value1= '1130' gl_criteria2 = 'cc.segment5' from_value2 = '1140' to_value2 = '1150' I am trying to run a select where I pull records w

  • HP Officejet Pro 6830 Scanner drivers for Server 2012

    Printer: HP Officejet Pro 6830 e-All-in-One Printer Serial Number: [edited Serial Number by Moderator] Product Number: E3E02A Email Address: [edited email by moderator] Operating System: Windows Server 2012 I have an issue when trying to install the

  • Mac Pro 3.2 GHZ Quad-Core Intel Xeon Running Slow

    Hi everyone! I'm a professional photographer and could use some advise, and thanks for your help in advance! I have a Mac Pro 3.2 GHZ Quad-Core Intel Xeon with 8 gigs of 1066 MHz DDR3 of memory, running on OS 10.9.5, and my main drive for application

  • Click to call makes Internet Explorer crash

    Since Messenger Live is going away soon, i reluctantly switched over to Skype and installed the optional Click to Call with it.  After doing this IE kept crashing and I eventually got a message saying the Click to Call was causing the problem and i s

  • In Design

    I want to upgrade my InDesign CS5 7.0.4 to 7.5.3 . I closed all my Adobe programs, went to the Adobe Website, clicked on the download the upgrade button and got an error message. What did I do wrong / how could I upgrade it differently? Thank you for