1. Preprocessor
- Posted by "Stewart MacKenzie-Leigh" <stewartml89 at msn.com> Nov 16, 2003
- 799 views
I am writing a preprocessor for eu. It will do much of the same stuff as PP, only it will have support for classes and structures. If anyone has any other ideas for it, please say. Thanks, _________________ StewartML
2. Re: Preprocessor
- Posted by "Christian Cuvier" <Christian.CUVIER at agriculture.gouv.fr> Nov 18, 2003
- 737 views
> From: "Stewart MacKenzie-Leigh" <stewartml89 at msn.com> > Subject: Preprocessor > > > I am writing a preprocessor for eu. > > It will do much of the same stuff as PP, only it will have support for > classes and structures. > If anyone has any other ideas for it, please say. > > Thanks, > > _________________ > > StewartML I started a preprocessor project about 1 year ago, called idEu. It implements classes, structs, macros, goto, more loop flow control statements, a select/case construct, plus about 30 to 40 additional features. Still got a couple of them to test and debug, the others respond correctly in short code snippets. As I'm currently working an another language (OpenEuphoria) documentation, this was stalled for a few months. Hope to complete this project though. Testing and rewriting the yet uninspected code may take 1 month. After that, there's a doc to write (nothing was done yet) and test on a largish scale project to perform, as interaction between features may be tricky sometimes and short snippets won't catch the subtle bugs. Could release Q3, 2004. If you want to help, that's very much welcome. Regards CChris
3. Re: Preprocessor
- Posted by "Kat" <gertie at visionsix.com> Nov 18, 2003
- 804 views
On 18 Nov 2003, at 13:07, Christian Cuvier wrote: > > > > Date: Sun, 16 Nov 2003 13:49:51 +0000 > > From: "Stewart MacKenzie-Leigh" <stewartml89 at msn.com> > > Subject: Preprocessor > > > > > > I am writing a preprocessor for eu. > > > > It will do much of the same stuff as PP, only it will have support for > > classes and structures. > > If anyone has any other ideas for it, please say. > > > > Thanks, > > > > _________________ > > > > StewartML > > I started a preprocessor project about 1 year ago, called idEu. It > implements classes, structs, macros, goto, more loop flow control > statements, a select/case construct, plus about 30 to 40 additional > features. Still got a couple of them to test and debug, the others > respond correctly in short code snippets. Bach has those. Don't jump me about promoting Bach tho, not yet... I am just thinking there is a lot of duplication going on here. Afaik, there are 3 alternate languages based to some degree on Eu, and the designers of those 3 are not talking to each other, and not collaborating, combining energies? Granted Bach and Eu are closed proprietary projects we cannot get into, but i wonder if Bach is so much more advanced now that it bears only a glancing resembalance to Eu. But maybe it is a lot like your OpenEu. > As I'm currently working an another language (OpenEuphoria) > documentation, this was stalled for a few months. Hope to complete this > project though. > > > Testing and rewriting the yet uninspected code may take 1 month. After > that, there's a doc to write (nothing was done yet) > and test on a largish scale project to perform, as > interaction between features may be tricky sometimes and short snippets > won't catch the subtle bugs. Could release Q3, 2004. > If you want to help, that's very much welcome. Whacha need? Atm, i am writing a debugger for Bach, but i am not involved in the development of it, so some of my wish list is still unrealised... Actually, i am not good with windows gui programming, so my debugger will prolly come out as dos, if i get no help. If i do, then Bach will have a windows gui debugging environment, with ability to change the contents of variables from the gui at runtime. And trace options, etc.. Karl cannot sell such a thing for Bach, if he is basing his interpreter on Eu, but i assume i can, Rob? Or give it away? It's debug only, and isn't for a production codebase, that is to say, the debug commands embedded in the code will not be recognised by Bach itself. Kat
4. Re: Preprocessor
- Posted by "Stewart MacKenzie-Leigh" <stewartml89 at msn.com> Nov 21, 2003
- 719 views
>From: Christian Cuvier <Christian.CUVIER at agriculture.gouv.fr> >Subject: Re: Preprocessor > > > > Date: Sun, 16 Nov 2003 13:49:51 +0000 > > From: "Stewart MacKenzie-Leigh" <stewartml89 at msn.com> > > Subject: Preprocessor > > > > > > I am writing a preprocessor for eu. > > > > It will do much of the same stuff as PP, only it will have support for > > classes and structures. > > If anyone has any other ideas for it, please say. > > > > Thanks, > > > > _________________ > > > > StewartML > > I started a preprocessor project about 1 year ago, called idEu. It >implements classes, structs, macros, goto, more loop flow control >statements, a select/case construct, plus about 30 to 40 additional >features. Still got a couple of them to test and debug, the others >respond correctly in short code snippets. > As I'm currently working an another language (OpenEuphoria) >documentation, this was stalled for a few months. Hope to complete this >project though. > > > Testing and rewriting the yet uninspected code may take 1 month. After >that, there's a doc to write (nothing was done yet) > and test on a largish scale project to perform, as >interaction between features may be tricky sometimes and short snippets >won't catch the subtle bugs. Could release Q3, 2004. > If you want to help, that's very much welcome. > >Regards >CChris > I would be willing to help - I need some sort of stable project. What can I do to help? By the way, I've stalled the preprocessor at the moment, I only started it because I was bored. StewartML
5. Re: Preprocessor
- Posted by "Christian Cuvier" <Christian.CUVIER at agriculture.gouv.fr> Nov 24, 2003
- 737 views
>>>From: Christian Cuvier <Christian.CUVIER at agriculture.gouv.fr> >>>Reply-To: EUforum at topica.com >>>To: EUforum at topica.com >>>Subject: Re: Preprocessor >>>Date: 18 Nov 2003 13:07:54 +0100 >>> >>> >>>> > Date: Sun, 16 Nov 2003 13:49:51 +0000 >>>> > From: "Stewart MacKenzie-Leigh" <stewartml89 at msn.com> >>>> > Subject: Preprocessor >>>> > >>>> > >>>> > I am writing a preprocessor for eu. >>>> > >>>> > It will do much of the same stuff as PP, only it will have support for >>>> > classes and structures. >>>> > If anyone has any other ideas for it, please say. >>>> > >>>> > Thanks, >>>> > >>>> > _________________ >>>> > >>>> > StewartML >> >>> >>> I started a preprocessor project about 1 year ago, called idEu. It >>>implements classes, structs, macros, goto, more loop flow control >>>statements, a select/case construct, plus about 30 to 40 additional >>>features. Still got a couple of them to test and debug, the others >>>respond correctly in short code snippets. >>> As I'm currently working an another language (OpenEuphoria) >>>documentation, this was stalled for a few months. Hope to complete this >>>project though. >>> >>> >>> Testing and rewriting the yet uninspected code may take 1 month. After >>>that, there's a doc to write (nothing was done yet) >>> and test on a largish scale project to perform, as >>>interaction between features may be tricky sometimes and short snippets >>>won't catch the subtle bugs. Could release Q3, 2004. >>> If you want to help, that's very much welcome. >>> >>>Regards >>>CChris >>> > > I would be willing to help - I need some sort of stable project. What can I > do to help? > By the way, I've stalled the preprocessor at the moment, I only started it > because I was bored. > > > StewartML > I hope that every feature will be working in the expected way by March-April 2004. Then - there's no docs atm - The project won't be tested in a large scale (2k-4k lines) project, and this is (I think) the only way to catch feature interaction bugs before they spread. If I perform both of these, I'm afraid that would be a 6 month effort. If somebody else has a bit more free time than I, it would help. I can send you the progress sheet I use to remember what works and what doesn't privately if you wish, so that you get an idea of what will be provided. The main program file is about 5500 lines of text, from which 800-1000 are comments. There aren't enough comments. Regards CChris
6. Preprocessor
- Posted by Ad Rienks <106075.266 at COMPUSERVE.COM> Jan 22, 1997
- 732 views
Hello All, I have a question about David Cuny's preprocessor. I'm experimenting with it for some time now and recently I dl'ed version .51. I like the way it works, especially to make programs with many sequences, loops and for..then..elsif.. etc constructions more readable. My question, however, concerns the "case" statement. The documentation says that you can use an <expression> in the select clause, so I tried: sequence s s = {} select case numeric length(s) do case 0 -- empty case else -- not empty end select This does not work. The expression length(s) is translated to a single ')'. I could not find a reference to this kind of 'bug', or isn't it a bug? Is it just impossible what im trying? Ad Rienks. PS I find it pityfull to see people quarrelling on this server. If someone comes with arguments, try to answer to the arguments, and not to what you think the other is implying. Sometimes it is difficult, I know by my own experience, but since you're not face to face, first think and than answer. Or maybe you shouldn't answer at all, if you think the arguments are silly.
7. Preprocessor
- Posted by David Cuny <HW1.DCUNY at HW1.CAHWNET.GOV> Jan 22, 1997
- 713 views
*** Reply to note of 01/22/97 13:31 it's a bug, all right. that's the fix that 0.51b takes care of. instead of writing something like: arg = append( arg, token[i] ) -- accumulate the tokens i wrote: arg = token[i] -- duh. this discards everthing but the last token. and it didn't show up until i tried a more complex expression. the update was posted this morning. sorry for the inconvenience. you'll also notice that i changes the style of the formatting from: if test ... elsif test ... end if to: -- case <expression> if test... elsif test... end if let me know if you prefer one format over the other. thanks. -- David Cuny
8. Preprocessor
- Posted by Ad Rienks <106075.266 at COMPUSERVE.COM> Jan 22, 1997
- 777 views
Hello David, As a follow-up of my 'bug-report', I looked into the official Euphoria page and downloaded your version .51b. I see you have also come across this bug and fixed it. Thanx! Don't bother to answer; you must be way too busy writing new attachments to your preprocessor! Good Luck and keep up the good work. Ad Rienks