Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: 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 27-Sep-12 0:27am
Edited 27-Sep-12 0:30am
Malli_S25.6K
v2
Comments
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
good
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).
  Permalink  
Comments
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 OriginalGriff 406
1 Marcin Kozub 225
2 Sergey Alexandrovich Kryukov 205
3 Raul Iloc 170
4 Maciej Los 164
0 OriginalGriff 8,289
1 Sergey Alexandrovich Kryukov 7,407
2 DamithSL 5,624
3 Maciej Los 4,989
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web02 | 2.8.1411023.1 | Last Updated 27 Sep 2012
Copyright © CodeProject, 1999-2014
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