Marks Code parser (Blitz)

Miscellaneous Forums/General Discussion/Marks Code parser (Blitz)

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Anybody got a copy of the code parser MS posted a long while back? I think the source code was the actual code used when parsing "Blitz Basic" files

Or, has anyone written a parser which can handle source code lines?
The parser needs to be able to handle various user input styles.
Here, for example, each section should parse out to the same instruction:
if (a=b) or (c=(f-1)*16) then FuncA else FuncB
'
'
'
If a=b or c=(f-1)*16 FuncA Else FuncB
'
'
'
If      ((a =  b))        or         ((  c= (f-1) * 16) Then
      FuncA ' i am a random comment ** ignore
Else
      FuncB ' blah %|^%$
EndIF                   ' or, the user can also use "End If"



(I cannot make much sense of the BlitzMax IDE source code though)