knotkit/knot_parser/knot_parser_driver.cpp
2011-12-09 15:50:25 -05:00

18 lines
241 B
C++

// includes knotkit
#include "knot_parser.hh"
void knot_scan_string (const char *s);
knot_diagram
parse_knot (const char *s)
{
knot_scan_string (s);
knot_diagram d;
yy::knot_parser parser (d);
parser.parse ();
return d;
}