2013-11-15 23:55:15 +00:00
|
|
|
/*
|
2014-05-15 22:51:41 +00:00
|
|
|
Copyright (c) 2013-2014 Microsoft Corporation. All rights reserved.
|
2013-11-15 23:55:15 +00:00
|
|
|
Released under Apache 2.0 license as described in the file LICENSE.
|
|
|
|
|
|
|
|
Author: Leonardo de Moura
|
|
|
|
*/
|
|
|
|
#include <sstream>
|
2013-11-27 03:15:49 +00:00
|
|
|
#include "util/lua.h"
|
2013-11-27 22:57:33 +00:00
|
|
|
#include "util/script_state.h"
|
2014-06-09 22:24:33 +00:00
|
|
|
#include "frontends/lean/parse_table.h"
|
2013-11-15 23:55:15 +00:00
|
|
|
|
|
|
|
namespace lean {
|
2014-06-09 22:24:33 +00:00
|
|
|
void open_frontend_lean(lua_State * L) {
|
|
|
|
open_parse_table(L);
|
2013-11-15 23:55:15 +00:00
|
|
|
}
|
2013-11-27 22:57:33 +00:00
|
|
|
void register_frontend_lean_module() {
|
|
|
|
script_state::register_module(open_frontend_lean);
|
2013-11-15 23:55:15 +00:00
|
|
|
}
|
|
|
|
}
|