Rename lean frontend files. The prefix lean_ is not necessary anymore.

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-09-12 20:09:35 -07:00
parent 26097475fd
commit 4c19cc6957
24 changed files with 42 additions and 42 deletions

View file

@ -1,3 +1,3 @@
add_library(lean_frontend lean_frontend.cpp lean_operator_info.cpp lean_scanner.cpp lean_parser.cpp lean_pp.cpp
lean_notation.cpp lean_elaborator.cpp lean_elaborator_exception.cpp)
add_library(lean_frontend frontend.cpp operator_info.cpp scanner.cpp parser.cpp pp.cpp
notation.cpp elaborator.cpp elaborator_exception.cpp)
target_link_libraries(lean_frontend ${LEAN_LIBS})

View file

@ -16,9 +16,9 @@ Author: Leonardo de Moura
#include "library/printer.h"
#include "library/update_expr.h"
#include "library/expr_pair.h"
#include "frontends/lean/lean_frontend.h"
#include "frontends/lean/lean_elaborator.h"
#include "frontends/lean/lean_elaborator_exception.h"
#include "frontends/lean/frontend.h"
#include "frontends/lean/elaborator.h"
#include "frontends/lean/elaborator_exception.h"
namespace lean {
static name g_choice_name(name(name(name(0u), "library"), "choice"));

View file

@ -4,8 +4,8 @@ Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include "frontends/lean/lean_elaborator_exception.h"
#include "frontends/lean/lean_elaborator.h"
#include "frontends/lean/elaborator_exception.h"
#include "frontends/lean/elaborator.h"
namespace lean {
format pp_elaborator_state(formatter fmt, elaborator const & elb, options const & opts) {

View file

@ -7,7 +7,7 @@ Author: Leonardo de Moura
#pragma once
#include "kernel/kernel_exception.h"
#include "library/state.h"
#include "frontends/lean/lean_elaborator.h"
#include "frontends/lean/elaborator.h"
namespace lean {
/**

View file

@ -13,11 +13,11 @@ Author: Leonardo de Moura
#include "library/expr_pair.h"
#include "library/import_all/import_all.h"
#include "library/state.h"
#include "frontends/lean/lean_operator_info.h"
#include "frontends/lean/lean_coercion.h"
#include "frontends/lean/lean_frontend.h"
#include "frontends/lean/lean_notation.h"
#include "frontends/lean/lean_pp.h"
#include "frontends/lean/operator_info.h"
#include "frontends/lean/coercion.h"
#include "frontends/lean/frontend.h"
#include "frontends/lean/notation.h"
#include "frontends/lean/pp.h"
namespace lean {
static std::vector<bool> g_empty_vector;

View file

@ -8,7 +8,7 @@ Author: Leonardo de Moura
#include <memory>
#include "kernel/environment.h"
#include "library/state.h"
#include "frontends/lean/lean_operator_info.h"
#include "frontends/lean/operator_info.h"
namespace lean {
/**

View file

@ -8,7 +8,7 @@ Author: Leonardo de Moura
#include "library/basic_thms.h"
#include "library/arith/arithlibs.h"
#include "library/cast/castlib.h"
#include "frontends/lean/lean_frontend.h"
#include "frontends/lean/frontend.h"
namespace lean {
/**

View file

@ -6,7 +6,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include "util/rc.h"
#include "frontends/lean/lean_operator_info.h"
#include "frontends/lean/operator_info.h"
namespace lean {
/** \brief Actual implementation of operator_info */

View file

@ -20,13 +20,13 @@ Author: Leonardo de Moura
#include "library/state.h"
#include "library/kernel_exception_formatter.h"
#include "library/metavar.h"
#include "frontends/lean/lean_frontend.h"
#include "frontends/lean/lean_elaborator.h"
#include "frontends/lean/lean_elaborator_exception.h"
#include "frontends/lean/lean_parser.h"
#include "frontends/lean/lean_scanner.h"
#include "frontends/lean/lean_notation.h"
#include "frontends/lean/lean_pp.h"
#include "frontends/lean/frontend.h"
#include "frontends/lean/elaborator.h"
#include "frontends/lean/elaborator_exception.h"
#include "frontends/lean/parser.h"
#include "frontends/lean/scanner.h"
#include "frontends/lean/notation.h"
#include "frontends/lean/pp.h"
#ifdef LEAN_USE_READLINE
#include <stdlib.h>
#include <stdio.h>

View file

@ -7,7 +7,7 @@ Author: Leonardo de Moura
#pragma once
#include <iostream>
#include "util/interruptable_ptr.h"
#include "frontends/lean/lean_frontend.h"
#include "frontends/lean/frontend.h"
namespace lean {
/** \brief Functional object for parsing commands and expressions */

View file

@ -19,11 +19,11 @@ Author: Leonardo de Moura
#include "kernel/free_vars.h"
#include "library/context_to_lambda.h"
#include "library/metavar.h"
#include "frontends/lean/lean_notation.h"
#include "frontends/lean/lean_pp.h"
#include "frontends/lean/lean_frontend.h"
#include "frontends/lean/lean_coercion.h"
#include "frontends/lean/lean_elaborator.h"
#include "frontends/lean/notation.h"
#include "frontends/lean/pp.h"
#include "frontends/lean/frontend.h"
#include "frontends/lean/coercion.h"
#include "frontends/lean/elaborator.h"
#ifndef LEAN_DEFAULT_PP_MAX_DEPTH
#define LEAN_DEFAULT_PP_MAX_DEPTH std::numeric_limits<unsigned>::max()

View file

@ -9,7 +9,7 @@ Author: Leonardo de Moura
#include <algorithm>
#include "util/debug.h"
#include "util/exception.h"
#include "frontends/lean/lean_scanner.h"
#include "frontends/lean/scanner.h"
namespace lean {

View file

@ -9,7 +9,7 @@ Author: Leonardo de Moura
#include <signal.h>
#include "util/interruptable_ptr.h"
#include "library/printer.h"
#include "frontends/lean/lean_parser.h"
#include "frontends/lean/parser.h"
#include "version.h"
using namespace lean;

View file

@ -14,9 +14,9 @@ Author: Leonardo de Moura
#include "library/printer.h"
#include "library/basic_thms.h"
#include "library/import_all/import_all.h"
#include "frontends/lean/lean_frontend.h"
#include "frontends/lean/lean_elaborator.h"
#include "frontends/lean/lean_elaborator_exception.h"
#include "frontends/lean/frontend.h"
#include "frontends/lean/elaborator.h"
#include "frontends/lean/elaborator_exception.h"
using namespace lean;
expr elaborate(expr const & e, frontend const & env) {

View file

@ -10,9 +10,9 @@ Author: Leonardo de Moura
#include "kernel/builtin.h"
#include "kernel/abstract.h"
#include "library/printer.h"
#include "frontends/lean/lean_frontend.h"
#include "frontends/lean/lean_operator_info.h"
#include "frontends/lean/lean_pp.h"
#include "frontends/lean/frontend.h"
#include "frontends/lean/operator_info.h"
#include "frontends/lean/pp.h"
using namespace lean;
static void tst1() {

View file

@ -9,8 +9,8 @@ Author: Leonardo de Moura
#include "util/exception.h"
#include "kernel/builtin.h"
#include "library/printer.h"
#include "frontends/lean/lean_parser.h"
#include "frontends/lean/lean_pp.h"
#include "frontends/lean/parser.h"
#include "frontends/lean/pp.h"
using namespace lean;
static void parse(frontend & fe, char const * str) {

View file

@ -8,8 +8,8 @@ Author: Leonardo de Moura
#include "kernel/abstract.h"
#include "kernel/builtin.h"
#include "library/printer.h"
#include "frontends/lean/lean_frontend.h"
#include "frontends/lean/lean_pp.h"
#include "frontends/lean/frontend.h"
#include "frontends/lean/pp.h"
using namespace lean;
static expr mk_shared_expr(unsigned depth) {

View file

@ -8,7 +8,7 @@ Author: Leonardo de Moura
#include "util/test.h"
#include "util/exception.h"
#include "util/escaped.h"
#include "frontends/lean/lean_scanner.h"
#include "frontends/lean/scanner.h"
using namespace lean;
#define st scanner::token