Click here to Skip to main content
15,902,276 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralInstalling fonts .ttf and Type 1 Pin
Anonymous7-Jul-04 4:13
Anonymous7-Jul-04 4:13 
GeneralRe: Installing fonts .ttf and Type 1 Pin
David Crow7-Jul-04 4:47
David Crow7-Jul-04 4:47 
GeneralRe: Installing fonts .ttf and Type 1 Pin
Anonymous7-Jul-04 6:11
Anonymous7-Jul-04 6:11 
GeneralAccessing a web Service from VC++ application Pin
Member 5343577-Jul-04 3:51
Member 5343577-Jul-04 3:51 
GeneralRe: Accessing a web Service from VC++ application Pin
Antti Keskinen7-Jul-04 12:27
Antti Keskinen7-Jul-04 12:27 
GeneralRe: Accessing a web Service from VC++ application Pin
Member 5343578-Jul-04 3:13
Member 5343578-Jul-04 3:13 
GeneralRe: Accessing a web Service from VC++ application Pin
Antti Keskinen8-Jul-04 9:48
Antti Keskinen8-Jul-04 9:48 
QuestionAny suggestions on a parser? Pin
prcarp7-Jul-04 3:16
prcarp7-Jul-04 3:16 
I am looking for a script parser written in C/C++ (that will compile under VC6 at least) that meets these requirements:

1) Simple VB-like instruction set (FOR/NEXT loops, IF/THEN/ELSE blocks, DO/WHILE loops, basic variable assignments and expression parsing). The lines of the source file are supplied from a text file (no editor front-end required).
2) Supports integer, floating, and string type variables.
3) Will compile into byte-code for faster, repeated runs.
4) The parser and byte-code interpretter are in C/C++ (MFC okay) and are open-source and/or GPL'd. No special binaries or libraries needed.
5) Nice-to-have-but-not-required: function support, GOSUB/GOTO, advanced math functions (sine/cosine), custom functions (PRINT)

I looked at MyBasic on this site as a basis but don't think I can use it because it lacks requirement #3. I also followed some of the links on the MyBasic message boards but couldn't find anything that would help. This script parser/interpretter is going to be a small part of a larger project and I was hoping not to re-invent this wheel. I am looking for something that is lean, easy to drop-in (or port), and quick enough to be used in a real-time application (as in a quick interpretter).

Any of you gurus have any suggestions? Or pointers where I can look?

Thanks in advance,
Paul
AnswerRe: Any suggestions on a parser? Pin
siggapet7-Jul-04 3:26
siggapet7-Jul-04 3:26 
AnswerRe: Any suggestions on a parser? Pin
palbano7-Jul-04 4:00
palbano7-Jul-04 4:00 
AnswerRe: Any suggestions on a parser? Pin
Andrew Walker7-Jul-04 14:21
Andrew Walker7-Jul-04 14:21 
GeneralRe: Any suggestions on a parser? Pin
prcarp25-Jul-04 20:39
prcarp25-Jul-04 20:39 
QuestionMaking an Edit multiline? Pin
steven117-Jul-04 1:56
steven117-Jul-04 1:56 
AnswerRe: Making an Edit multiline? Pin
siggapet7-Jul-04 3:49
siggapet7-Jul-04 3:49 
GeneralRe: Making an Edit multiline? Pin
steven117-Jul-04 6:06
steven117-Jul-04 6:06 
GeneralDifference between thread and fiber on windows Pin
haritadala7-Jul-04 1:46
haritadala7-Jul-04 1:46 
GeneralRe: Difference between thread and fiber on windows Pin
David Crow7-Jul-04 2:35
David Crow7-Jul-04 2:35 
QuestionHow to Detect Invalid Filenames Pin
Steve Thresher7-Jul-04 1:37
Steve Thresher7-Jul-04 1:37 
AnswerRe: How to Detect Invalid Filenames Pin
V.7-Jul-04 1:44
professionalV.7-Jul-04 1:44 
AnswerRe: How to Detect Invalid Filenames Pin
PengFeidu7-Jul-04 2:17
PengFeidu7-Jul-04 2:17 
Generali Have two Question Pls Some one reply Pin
ThatsAlok6-Jul-04 23:55
ThatsAlok6-Jul-04 23:55 
GeneralRe: i Have two Question Pls Some one reply Pin
Abhi Lahare7-Jul-04 0:34
Abhi Lahare7-Jul-04 0:34 
GeneralRe: i Have two Question Pls Some one reply Pin
ThatsAlok7-Jul-04 2:34
ThatsAlok7-Jul-04 2:34 
GeneralRe: i Have two Question Pls Some one reply Pin
David Crow7-Jul-04 2:57
David Crow7-Jul-04 2:57 
GeneralRe: i Have two Question Pls Some one reply Pin
ThatsAlok7-Jul-04 4:29
ThatsAlok7-Jul-04 4:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.