Re: C# to HTML convertor

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: C# Learner (csharp_at_learner.here)
Date: 02/18/04


Date: Wed, 18 Feb 2004 10:23:28 +0000


"Chad Z. Hower aka Kudzu" <cpub@hower.org> wrote:

>C# Learner <csharp@learner.here> wrote in
>news:981630dl2ksvr76jh1707o06uujiiiuvvb@4ax.com:
>> I've recently made something similar, with a major difference being
>> that languages can be "defined" in an XML file which the application
>> reads on load, and syntax highlighting can be specified in the
>> application configuration file.
>
>Sounds cool! Would be nice to add HTML, PHP, SQL, Delphi, etc. ;)

So far I've more or less implemented the language "definitions" for C,
C++, C# and Delphi. I've started on Visual Basic, but there's still a
way to go on that one, since I can't remember all the keywords =)

I've tested the app with various C++, C# and Delphi code so far, and
it appears to work fine. It's slow on large files, but it uses a
background thread to do the main work, so it doesn't lag the GUI.

>> I was considering releasing it as open source. It's more or less
>> complete now, but I might still add a few features like line numbering
>> in the output HTML, etc.
>>
>> If you're still interested, let me know and I'll send you the VS.NET
>> 2003 project or source files.
>
>Sure - Id love to take a look!
>
>I just need to turn it into a console app to process the files from a build
>process. Later I'd like to make a custom control from it too to be used live.

At the moment it uses a form for the UI, but it could easily be
changed to use a console window instead, since it's rather modulated.

I haven't uploaded it anywhere yet, so is it okay to send to cpub [at]
hower.org?



Relevant Pages

  • Editor control with syntax highlighting
    ... Any recommendations please for syntax highlighting editors? ... And if it will also collapse code like the new Delphi editor does, ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Communication between Borland Pascal DOS program and Delphi
    ... Delphi Professional 5. ... The Delphi program is waiting for an event from ... > able to receive a message/signal from a Borland Pascal DOS application? ... If much information is sent by the console app, a pipe may be a better solution, but this requires more changes to both applications. ...
    (comp.lang.pascal.delphi.misc)
  • Re: Communication between Borland Pascal DOS program and Delphi
    ... concurrently is a Windows application (not a console app) written with ... Delphi Professional 5. ... A BP program can start any 32 bit windows program simply with exec ... achieved, a FAQ citation should be in order, in both FAQs. ...
    (comp.lang.pascal.borland)
  • Re: Performance Analysis Tools
    ... tbone wrote: ... I'm working on a Delphi 4 console app and have been asked to improve ... its UDP message throughput. ...
    (borland.public.delphi.non-technical)
  • Re: Performance Analysis Tools
    ... I'm working on a Delphi 4 console app and have been asked to improve ... its UDP message throughput. ... Australian Bridal Accessories:= http://www.bridalbuzz.com.au ...
    (borland.public.delphi.non-technical)