Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: axlq AT unicorn DOT us DOT com (to comp.os.msdos.djgpp), djgpp AT delorie DOT com Date: Tue, 16 Feb 1999 09:39:59 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: RHIDE understands QBASIC?? In-reply-to: <7acs3f$pst$1@samba.rahul.net> X-mailer: Pegasus Mail for Windows (v2.54) Reply-To: djgpp AT delorie DOT com axlq AT unicorn DOT us DOT com (to comp.os.msdos.djgpp) wrote: > I just had a pleasant surprise. A friend sent me a fairly large qbasic > application to look at, and so I loaded it up into RHIDE, that being the > most convenient editor I have at the moment. > > You know how RHIDE parses your C/C++ code to assign colors to different > bits of text? > > Well, it did the same thing for qbasic source! If the file ends in > .bas, it uses different parsing rules, and recognizes comments beginning > with a single quote ('), it recognizes BASIC keywords, and so on. It's > much better than the editor that comes with qbasic! The syntax highlight engine is configurable. Basically 4 syntax highlights are really supported by the editor: C/C++, Pascal, Clipper and Generic. The generic one uses a configuration file called syntaxhl.shl, currently (in v0.4.23 of my editor, RHIDE 1.4.7 uses 0.4.17 and RHIDE 1.4 uses 0.3.6) there are definitions for: C/C++, Pascal, Modula 2, Ada, BASIC, .BAT, AT&T x86 assembler, Intel x86 assembler, Clipper, HTML, SDG (*), PMacros(*), the syntax highlight file ;-), sLisp(*), Menues(*), NASM, Perl, 8051 assembler, Java and djgpp's .env files. (*) Files used by the editor. The generic SHL isn't perfect, but is much better than the SHL found in a lot of editors. Why two for C, Pascal and Clipper? because the internal version can take care of small details not configurable with the generic one. If you want to learn more about it download the standalone editor (v2apps/edi0417b.zip). > Now, if only I could run qbasic programs from RHIDE.... If you have RHIDE 1.4.7 and you take a deep look to the docs you'll see that you can configure the compilation rules used by RHIDE, so perhaps you can define how to "compile" qbasic files. > Is this multi-language feature documented anywhere? I don't remember > reading about it. Is in my docs (editor.inf), but the features are only documented in newer versions of the editor (not in 0.3.6 included with RHIDE 1.4). > In any case, it was a nice suprise. Many thanks to the author! Ok :-) Greetings, SET ------------------------------------ 0 -------------------------------- Visit my home page: http://welcome.to/SetSoft or http://www.geocities.com/SiliconValley/Vista/6552/ Salvador Eduardo Tropea (SET). (Electronics Engineer) Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org ICQ: 2951574 Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA TE: +(5411) 4759 0013