Translate vbscript in C # using ANTLR

I need to write a translator for vbscript in C #. What will be the main steps used for translation using ANTLR ? I don’t quite understand if grammar should be used (lexer / parser? File or stringtemplate or AST or all. Suggestions? Thanks in advance.

+3
source share
3 answers

Is it really possible?

I "translated" (read: rewrote) the MS Access / VBA application from two years to C # and found out that even available online converters (for example, this one , which is larger than VB.NET, but in any case) fails with most basic transformations.

, , , VBScript #.

+1

. , ?

+1

VBScript # VB.NET . VBScript VB.NET( ), , , Visual Studio. .

( DLL #), , VB.NET # . DLL/EXE ( ) - VB.NET #.

0

Source: https://habr.com/ru/post/1785837/


All Articles