473,407 Members | 2,326 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Tool for Cross-Referencing Ported Code

I am looking for a tool capable of producing HTML pages from source
files written in different languages, where the source written in one
language is a port of the source written in another language.
Primarily,
I need to be able to create hyperlinks - e.g. through the use of
tagged
comments in the source - linking corresponding code, all the way down
to
the statement level, between the original source codebase and the
ported
codebase. Ideally, I would like the tool to support the typical
complement of interesting source-to-html features (e.g. syntax
highlighting, line numbering, symbol cross-referencing, etc.) as
well.

My current need is to map from C to ASM (and vice-versa), but I would
like to find a tool that supports and/or is extensible to other
languages.

I would appreciate any pointers to open source tools that already
meet
my described need or open source tools that could be relatively easily
modified to meet my described need.

Thanks.

Aug 25 '07 #1
6 1607
Joe
br**************@gmail.com writes:
I am looking for a tool capable of producing HTML pages from source
files written in different languages, where the source written in
one language is a port of the source written in another language.
Primarily, I need to be able to create hyperlinks - e.g. through the
use of tagged comments in the source - linking corresponding code,
all the way down to the statement level, between the original source
codebase and the ported codebase. Ideally, I would like the tool to
support the typical complement of interesting source-to-html
features (e.g. syntax highlighting, line numbering, symbol
cross-referencing, etc.) as well.

My current need is to map from C to ASM (and vice-versa), but I would
like to find a tool that supports and/or is extensible to other
languages.

I would appreciate any pointers to open source tools that already
meet my described need or open source tools that could be relatively
easily modified to meet my described need.
Javadoc might work for you. http://java.sun.com/j2se/javadoc/ I know
that people use it successfully in C/C++.

Joe
Aug 26 '07 #2
br**************@gmail.com wrote:
>
I am looking for a tool capable of producing HTML pages from source
files written in different languages, where the source written in
one language is a port of the source written in another language.
.... snip ...
>
My current need is to map from C to ASM (and vice-versa), but I
would like to find a tool that supports and/or is extensible to
other languages.

I would appreciate any pointers to open source tools that already
meet my described need or open source tools that could be
relatively easily modified to meet my described need.
This seems fairly nice, but I don't know if it meets your
requirements. However, it is open source, and is descended from
NVU, the Mozilla HTML editor.

<http://prdownloads.sourceforge.net/kompozer/>

--
Chuck F (cbfalconer at maineline dot net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net>

--
Posted via a free Usenet account from http://www.teranews.com

Aug 26 '07 #3
In comp.unix.programmer br**************@gmail.com wrote:
I am looking for a tool capable of producing HTML pages from source
files written in different languages, where the source written in one
language is a port of the source written in another language.
Primarily,
I need to be able to create hyperlinks - e.g. through the use of
tagged
comments in the source - linking corresponding code, all the way down
to
the statement level, between the original source codebase and the
ported
codebase. Ideally, I would like the tool to support the typical
complement of interesting source-to-html features (e.g. syntax
highlighting, line numbering, symbol cross-referencing, etc.) as
well.

My current need is to map from C to ASM (and vice-versa), but I would
like to find a tool that supports and/or is extensible to other
languages.

I would appreciate any pointers to open source tools that already
meet
my described need or open source tools that could be relatively easily
modified to meet my described need.
Have a look at Linux Cross Reference project at http://lxr.linux.no/.
I am not sure to which extent it meets your needs, but I think it is
worth a look.

--
Kenan Kalajdzic
Aug 26 '07 #4
Kenan Kalajdzic wrote:
Have a look at Linux Cross Reference project at http://lxr.linux.no/.
I am not sure to which extent it meets your needs, but I think it is
worth a look.
That project writes in their home page:

<quote>
The index generator is written in Perl and relies heavily on Perl's
regular expression facilities. The algorithm used is very brute force
and extremely sloppy.
<end quote>

This means:
<quote>
There are obvious disadvantages to this approach. No scope checking is
done, and the most annoying effect of this is mistaking local identifers
for references to global ones with the same name.
<end quote>
This type of work can be done only in the compiler.

jacob
Aug 26 '07 #5
CBFalconer wrote:
br**************@gmail.com wrote:
>I am looking for a tool capable of producing HTML pages from source
files written in different languages, where the source written in
one language is a port of the source written in another language.
... snip ...
>My current need is to map from C to ASM (and vice-versa), but I
would like to find a tool that supports and/or is extensible to
other languages.

I would appreciate any pointers to open source tools that already
meet my described need or open source tools that could be
relatively easily modified to meet my described need.

This seems fairly nice, but I don't know if it meets your
requirements. However, it is open source, and is descended from
NVU, the Mozilla HTML editor.

<http://prdownloads.sourceforge.net/kompozer/>
That is an HTML editor. Nothing I saw there speaks about indexing...
Aug 26 '07 #6
On Aug 26, 1:30 pm, Logan Shaw <lshaw-use...@austin.rr.comwrote:
jacob navia wrote:
Kenan Kalajdzic wrote:
Have a look at Linux Cross Reference project athttp://lxr.linux.no/.
I am not sure to which extent it meets your needs, but I think it is
worth a look.
This type of work can be done only in the compiler.

It's worse than that. The original poster's request was for something
that generates cross references between two implementations of the "same"
software in two different languages.
Sorry. I should have been more clear. The tool need not automatically
generate
the cross-references. I am simply looking for a tool that will
automatically
generate HTML for the code with hyperlinks for cross-references that
are manually
determined and identified (e.g. using specially formatted comments) by
the
developer(s) performing the port. This should not be terribly
difficult so I am
expecting to find a tool (Doxygen, perhaps?) that can already do this
or one that
will do this with a bit of modification/coaxing. :-)

<SNIP>

Aug 27 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: dcolford2000 | last post by:
Hi All - I'm new to python Is there an impact analysis tool out there that can cross reference python -- VB has a couple of these tools (eg. Visual Expert) TIA, All comments welcome Dave
24
by: omlet | last post by:
omlet v4) wrote in message Dear DBA, You are cordially invited to test and review our windows native and 100% pure Java Oracle 9i/8i Monitoring Application (OMLET). OMLET is the Ultimate Visual...
2
by: Sanjay Meher | last post by:
I have developed an application in Java for the crossplatform compentency. But my customer is is complaining it as it is very slow. I have made the same thing using vc++ and find it appealing. ...
7
by: Dave | last post by:
Does anyone know of a Windows compatible command line tool that capable of parsing Microsoft's VC++ workspace/project (e.g., .dsw, .dsp, .sln, ..vcproj, etc.) files and generating an...
28
by: Jed | last post by:
Hello to all! I have a couple of projects I intend starting on, and was wondering if someone here could make a suggestion for a good compiler and development environment. My goals are as...
0
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool including SourceOffSite, SourceAnyWhere and VSS Remoting This article makes a detailed...
8
by: mjf | last post by:
I need to come up with a tool to compare the table definition and/or its data before and after some modification to the DDL or some tests (that change the data). Does DB2 come with such a tool, or...
2
by: David F | last post by:
I a looking for a tool that creates a cross reference table for all global functions, and optionally class methods. That is, for each function, which function(s) does it call and what function(s) is...
0
by: Georg Scholz | last post by:
(Note: this was intended to be a multi-post, but google was not able to post it also to microsoft.public.dotnet.general, so I'm cross- posting it separately) Hello, I am about to write a...
2
by: tvnaidu | last post by:
Downloaded PowerPC cross compiler tool chain for LINUX, trying to compile C / CPP file, I am getting "Floating Point exception" to compile any file, no problem with regular GCC. any idea why I am...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
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...
0
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...
0
tracyyun
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...
0
agi2029
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.