Little Languages with Lex, Yacc, and MFC
By Jason Shankel, January 01, 1999
Jason shows how to use lex, yacc, and MFC to create integrated Win32 development environments for little languages. In doing so, he develops "Slide," short for the "Small Language Integrated Development Environment," and integrates it with lex and yacc.
Jan99: Little Languages with Lex, Yacc, and MFC
Little Languages with Lex, Yacc, and MFC
By Jason Shankel
Dr. Dobb's Journal January 1999
Add SlideMessage to
SlideView.cpp:
extern "C"
void SlideMessage(char *message)
{
AfxMessageBox(message);
}
Example 4: yyerror(char *) calls SlideMessage(char *), which pops a message box.
Copyright © 1999, Dr. Dobb's Journal