Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to convert VFP expressions to VB
Message
De
24/03/2007 17:46:23
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01207958
Message ID:
01208216
Vues:
15
Thank you for great table.

I need to create C# method which converts FoxPro expression to VB .NET expression string.

I think I need to create simple converter which:

1. Reads FoxPro expression string to lexeme list
2. Replaces lexemes ( operators and functions) with vb analogues
3. Returns result string

It seems that lexeme order can be the same: FoxPro and VB expressions have same structure.
So I can simply replace foxpro lexemes to vb ones using table you pointed.

The most difficult part seems to be vfp expression syntax parsing.
Where to find sample code which parses FoxPro expression ?

>Do not know about VB.NET, but FoxPro/Visual Basic Concordance you may review here:
>
>http://72.14.209.104/search?q=cache:yw2gnabKBt8J:leafe.com/dls/vfp+VFP+Visual+Basic+Concordance&hl=en&ct=clnk&cd=18&gl=us
>
>
>>I need to create parser in C# which converts VFP expressions to VB .NET eguivalents.
>>
>>Where to find source code for this parser ?
>>
>>Where to find table for matching VFP and VB .NET functions and operators ?
>>
>>Any ida how to implement this ?
Andrus
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform