View previous topic :: View next topic |
Author |
Message |
JosephE Junior Member
![](http://www.conforums3.com/boardimages/avatars/dino.gif)
Joined: 01 Nov 2007 Posts: 21
|
Posted: May 15th, 2012, 10:05pm Post subject: Re: Try out the parser |
|
|
The new line expected error was exactly what I got, actually.
Although, how is that more than one statement on more than one line?
Or does the parser only look at one line right now? Perhaps some example VF code would give me an idea of where to start with the testing. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Brent Site Admin
Joined: 01 Jul 2005 Posts: 800
|
Posted: May 16th, 2012, 12:08am Post subject: Re: Try out the parser |
|
|
Ok, I created http://www.b6sw.com/docs/ViviFire/test. I'll be uploading a variety of basic test files over the coming days and weeks. _________________ Brent |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
STPendl Full Member
Joined: 20 Aug 2007 Posts: 161 Location: Austria
|
Posted: May 16th, 2012, 7:20pm Post subject: Re: Try out the parser |
|
|
I second the sample code snippets, since one is really lost if there is nothing to look at ![Wink](images/smiles/icon_wink.gif) _________________ Stefan
Any code I post can be freely used, just give credit. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Brent Site Admin
Joined: 01 Jul 2005 Posts: 800
|
Posted: May 18th, 2012, 5:49pm Post subject: Re: Try out the parser |
|
|
I just uploaded a new version. This release adds a command line switch to select the verbosity of the output. Code: | > vf
ViviFire Test Parser by Brent D. Thorn, May 18 2012
Syntax:
VF [-v[0-2]] file
Switches:
-v0 Minimal verbosity: Errors only
-v1 Verbose tokens and errors
-v2 Verbose expressions, tokens, and errors (default) |
_________________ Brent |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Brent Site Admin
Joined: 01 Jul 2005 Posts: 800
|
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Brent Site Admin
Joined: 01 Jul 2005 Posts: 800
|
Posted: May 25th, 2012, 5:02pm Post subject: Re: Try out the parser |
|
|
Seeing as this weekend is a holiday here in the States, the next release is being pushed to the 28th or 29th.
I noticed that no one has been bothered to download the test suite. Is there something syntactically you want to see specifically? _________________ Brent |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
STPendl Full Member
Joined: 20 Aug 2007 Posts: 161 Location: Austria
|
Posted: May 25th, 2012, 6:20pm Post subject: Re: Try out the parser |
|
|
I haven't downloaded the text suite ZIP archive, because I did download the individual files already
Have been busy with other issues, but hope to find some time during this extended weekend. _________________ Stefan
Any code I post can be freely used, just give credit. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Brent Site Admin
Joined: 01 Jul 2005 Posts: 800
|
Posted: May 29th, 2012, 5:24pm Post subject: Re: Try out the parser |
|
|
A new release is available for download.
I didn't have time to add much new stuff. Mostly, I added all of the suggested block comments so you can try them out. Please vote for your favorite in the poll which ends in about 20 days. _________________ Brent |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Brent Site Admin
Joined: 01 Jul 2005 Posts: 800
|
Posted: Jun 9th, 2012, 12:50am Post subject: Re: Try out the parser |
|
|
There's not much news to report. I just started work on the abstract syntax tree (AST) and hope to have it well integrated by next week. _________________ Brent |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Larry New Member
Joined: 07 May 2018 Posts: 1 Location: Texas, US
|
Posted: May 7th, 2018, 4:10pm Post subject: Re: Try out the parser |
|
|
I do not remember the error I got when I tried the hello world program, but I realised after it ran, that I had the old version of the command with the "Hello World "NL" ", and so I changed it to "Hello World $NL". Then it ran and got no errors.
Over all I like what you have so far. I know that the parser is just one step in many, of getting this language ready to code in. Right now, you're just putting the parser through it's paces. I wrote a Rtf word processor once in visual C# using visual studio community. It took a lot of hours pouring over questions and answers from stack overflow in order understand what little I do know about c#. I am just now to the point where I am starting to understand a little about classes. I do like your class properrty example it is easy to understand, unlike how everything in the newer languages has to be a new instance of something. In basic, if I wanted another filestream, I just used the open command and gave it a differenr buffer#. Still I like where ViviFire is headed, and look foreward to the day when I can start to really program an app in it. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
|