Click here to Skip to main content
11,806,590 members (40,789 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: VB VB.NET compiler
I know this is going to sound a bit strange. But I have a question that tricks me.
Last Month, I have been trying to make an interpreter of my own with the name UCI made in Borland C++. It uses My own technology called Parallel Hexa Conversion and fortunately, was a success. Now I would like to make a Compiler version of it with implemented GUI . But the Problem is how will i convert and check the Program Entered by the user? Tobe more precise, how will I make the Script Editor.
I will have to use a textbox. But how will I check for syntax and do the conversion line by line or word by word or letter by letter. In the C++ version, I just used char array and converted it word by word. Please give something Useful. I am kind of new to VB.
Posted 26-Sep-12 23:27pm
Edited 26-Sep-12 23:30pm
buckmunsterfullerene at 29-Sep-12 1:00am
Thanks CPallini for it Really Helped me. Thanks for all Who read my question and Tried answering.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You probably should read a good book on compiler construction.
The "Dragon Book"[^] is a good (theoretical) one.
On the other hand, for an informal, practical approach, I suggest the Crenshaw's Let's buld a compiler[^].
There are also some 'compiler generator tools' available (ANTLR[^] being probably the most famous).
buckmunsterfullerene at 29-Sep-12 0:59am
Thanks CPallini, That Helped Me!! Thanks for all who Read my Question and Tried answering.
CPallini at 29-Sep-12 9:30am
Glad to help. You are welcome.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 ppolymorphe 295
1 OriginalGriff 150
2 George Jonsson 135
3 Richard Deeming 120
4 CPallini 100
0 OriginalGriff 3,380
1 Maciej Los 1,990
2 CPallini 1,915
3 KrunalRohit 1,907
4 ppolymorphe 1,317

Advertise | Privacy | Mobile
Web02 | 2.8.151002.1 | Last Updated 27 Sep 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100