Re: [ql-users] SQL on QDOS

2005-03-21 Thread Norman
[EMAIL PROTECTED] wrote:
 
 SuperBASIC would be **much** better!
 

I once wrote a parser and syntax evaluator, in SuperBasic (and I think, 
converted it to C68) for a project many years ago - which died a horrible death.

The project was code named 'ARSE' and stood for ARchive Syntax Evaluator. It's 
main purpose was to take a file of Archive procedured, encrypted or not, and 
produce a SuperBasic file where the Archive stuff was converted to DBAS 
commands. I even got the screens converted to SuperBasic as well.

I managed to find a bug in one of the Quanta library discs where someone has 
written a huge set of procedures etc to make Archive easy, there was, if I 
remember, an end if out of sequence with an end while (See, it was that long 
ago, I can't even remember the syntax !) which Archive seemed to think was ok, 
but my parser/evaluator didn't like at all.

I *might* still have the source code, but it won't be pretty - but it wasn't 
bad for a first attempt at writing a 'compiler'. Actually, it remains my only 
attempt !

I know it had at least one bug in it, it didn't handle string expressions very 
well. If I'm not mistaken, stuff like DATE$(...) broke it.

My problem is I'm very much self taught as a programmer, and without any 
resources to call on, I tend to get very dis-hearted when it all goes horribly 
wrong and I've got no-one to consult who knows better. (This was before the 
internet !)

Cheers,
Norman.

PS. I never did get the 'code generator' written though !

___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [ql-users] SQL on QDOS

2005-03-18 Thread jms1
The original idea was to write the parser in archive but in view of the
feedback I think we had better think again.
Perhaps SuperBasic might be better.
Any thoughts?

- Original Message -
From: Claude Mourier 00 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 18, 2005 2:52 PM
Subject: RE: [ql-users] GCC on QDOS


 Finally it woould be a generic parser that can be linked to more than one
database engine :-)

 Claude

 -Message d'origine-
 De : [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] la part de
 Franois Van Emelen
 Envoy : vendredi 18 mars 2005 15:50
  : [EMAIL PROTECTED]
 Objet : Re: [ql-users] GCC on QDOS


 Claude Mourier 00 schreef:
  To my opinion DataDesign is a better target for such implementation
 
  Claude

 Wouldn't DBAS be another valid candidate?
 Franois Van Emelen
 
  -Message d'origine-
  De : [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] la part de Rich
  Mellor
  Envoy : dimanche 13 mars 2005 22:32
   : [EMAIL PROTECTED]
  Objet : Re: Re: [ql-users] GCC on QDOS
 
 
  On Fri, 11 Mar 2005 20:43:35 -, jms1 [EMAIL PROTECTED] wrote:
 
 
 Albin was toying with the idea of producing a version of SQL to run with
 archive.
 Would that be of interest?
 snip




 ___
 QL-Users Mailing List
 http://www.q-v-d.demon.co.uk/smsqe.htm







 ___
 QL-Users Mailing List
 http://www.q-v-d.demon.co.uk/smsqe.htm

___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm