Click here to Skip to main content
13,199,685 members (52,440 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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
Updated 26-Sep-12 23:30pm
buckmunsterfullerene 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 29-Sep-12 0:59am
Thanks CPallini, That Helped Me!! Thanks for all who Read my Question and Tried answering.
CPallini 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
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.171020.1 | Last Updated 27 Sep 2012
Copyright © CodeProject, 1999-2017
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