What's new? | Help | Directory | Sign in
Google
heron-language
Heron is an object-oriented programming language for model driven architecture
  
  
  
  
    
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Parser parser;

template<typename T>
Node* ParseString(const char* s)
{
size_t len = strlen(s);
bool b = parser.Parse<T>(s, s + len);

if (!b)
return NULL;

// Uncomment for debugging
// OutputParseTree(parser.GetAstRoot());

return parser.GetAstRoot();
}
Show details Hide details

Change log

r43 by cdiggins on Mar 25, 2008   Diff
Improved C++ compliance of YARD library.
Started using unit tests again. Made a
bunch of improvements.
Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 283 bytes, 16 lines